Hello anybody could give me idea how to pass the value of input box to other page when clicking the button..
I have a Page that will search according to what category you choose, and the query code execute to other page...
below is my code...
PHP Code:
$searchcategory=array("Client","Jobs","Candidates");
$searchval=array("employer_id","vacancy_id","candidate_id");
<form name="quicksearch" method="post">
<tr><td>Keywords</td>
<td><input type="text" name="qsearch" class="inputbox"></td>
</tr>
<tr>
<td >Category</td>
<td>
<select name="find" class="small">';
$index=0;
foreach($searchcategory as $sc)
{
if($searchval[$index]==$find)
echo '<option value="'.$searchval[$index].'" selected>'.$sc.'</option>';
else
echo '<option value="'.$searchval[$index].'">'.$sc.'</option>';
$index++;
}
echo '</select></td>
</tr>
<tr><td>
<input type="submit" name="search" value="Search">
</td>
</tr>
</form>
when clicking the search button the result must display to other page
the filename of the said page is client_list.php but since all pages are under the menu.php, therefore the url looks like this
http://www.mysite.com/menu.php?click...ist.php&menu=1
tnx.. hope u get it..