You are here: Re: PLEASE HELP ME ($20 REWARD!!) PHP(v5.0.4)/MySQL(v4.1.14) Problem. Need Basic Drop-down menu populated by 1 column from MySql « PHP Programming Language « IT news, forums, messages
Re: PLEASE HELP ME ($20 REWARD!!) PHP(v5.0.4)/MySQL(v4.1.14) Problem. Need Basic Drop-down menu populated by 1 column from MySql

Posted by Geoff Berrow on 01/26/06 09:14

Message-ID: <1138258275.698887.317800@g47g2000cwa.googlegroups.com> from
snowsong1 contained the following:

>echo "<form action='#' method='post'>\r\n<select name=house>\r\n";
>while ($line = mysql_fetch_array($result, MYSQL_NUM)) {
> $house = $line[0];
> echo "<option value=$house>$house\r\n";
>}
>echo "</select>\r\n <input type=submit value=Send>\r\n</form>\r\n";
>?>
>
><! THIS STUFF IS WHAT I USED BEFORE. I was able to log in by typing
>user names and passwords manually -->
><! Now I would like to be able to combine the password blank below
>(drop the House Name blank, of course) -->
><form action="gk_login.php" method="post">

Everything should be enclosed in one form tag. Edit the one in the top
line of the quoted section and remove the bottom one.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

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

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