You are here: Re: very simple drop-down list... « PHP Programming Language « IT news, forums, messages
Re: very simple drop-down list...

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация