> For example,
>
>
> If ($row['voyage'] == 'One voyage only') { echo ' selected'; }
>
> ?>>One voyage only
Perhaps even a bit more elegant solution:
>One voyage
only
It's just that a bunch of IF's look darn ugly if you have ~25 options.
--
PHP Database Mailing List (http://www.php.net/)
on 4/28/01 1:32 AM, Howard Picken at [EMAIL PROTECTED] wrote:
> Which Voyage: value="">
>
> One voyage only
In an HTML , you can't specify the value in the select tag (btw, you
can't specify cols or rows either). To specify the item to pick, you must
add a " selected" keyword to the appropri