On Mon, 21 Mar 2005 10:04:23 -0600, Marquez Design <[EMAIL PROTECTED]> wrote: > Greetings, > > Does anyone know how to get a particular option to display in a drop menu? >
Perhaps, do db query first, then for each option (perhaps as a foreach
or something):
echo "<option name=\"whatever\" value=\"xxxx\"";
if (!(strcmp($required_value, $db_result))) { echo " selected"; }
echo ">";
cheers
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

