"Venomous" <[EMAIL PROTECTED]> wrote in message
> I need to make a dropdown menu from my mysql database but i don't no how
> come about
> It's the meaning that i don't get weird things in my database for instants
> PI 300 or pi 300

think about what your generated output should like like:
something like
    <OPTION>First Item
    <OPTION>Second Item
    <OPTION>Third Item

So your PHP should do something like

    echo "\n  <SELECT>";

    while($row = mysql_fetch_array($conn))
        echo "\n    <OPTION>".$row["item"];

    echo "\n  </SELECT";

Exactly what appears in the list will depend on what you
echo in the loop.

Hope that's what you were looking for...

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to