Posted by max on 09/19/05 02:27
Steve probably wrote the following stuff on 19/09/2005 1.14:
>><form name="year_search_form" method="post" action="results.php">
>><select name="select_year" id="select_year">
>><?
>>$query="SELECT * FROM table ORDER BY year";
>>$result = mysql_query($query) or die ("Error in query: $query. "
>>.mysql_error());
>
>
> View the HTML source - any error message will be invisible via your
> browser because you are in the middle of specifying a form and dropdown
> list.
ok, this is the html output source :
<form name="year_search_form" method="get" action="results.php">
<select name="select_year" id="select_year">
</select>
<input name="submit" type="submit" class="search_button" value="Search">
</form>
it looks like it doesn't get anything...
I tried a simple loop on the same page and it outputs the data fine...
Navigation:
[Reply to this message]
|