bir arama butonu ile değişkenleri oluşturur?

0 Cevap php

Web site: www.matka-opas.com/ahaa4.php If i push SEARCH-1 and then SEARCH-2 it works ok, but how it could do by one search button ?

<?php
$depairport = $_POST['depairport'];
$ddestination = $_POST['ddestination'];
$ddday = $_POST['ddday'];
$depmonth = $_POST['depmonth'];
$depyear = $_POST['depyear'];
$retday = $_POST['retday'];
$retmonth = $_POST['retmonth'];
$retyear = $_POST['retyear'];
$aikuisia = $_POST['aikuisia'];
$osoite = $depairport . $ddestination . $ddday . $depmonth . $retday . $retmonth;

?>

<form method="post">



<input type="submit" value="SEARCH 1">

<a href="http://www.travelstart.fi/combo/ <?php echo $osoite; ?>" ><input type="submit" value="SEARCH 2"></a>

teşekkürler! ;]

0 Cevap