Select element

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Can't work this out. need to make one of my <select> the default. Whats
needed here?

<OPTION VALUE="Nov" <? if($mm == 'Nov')selected="true">Nov

Re: Select element

Des wrote:
Quoted text here. Click to load it

<option value="Nov" <?php if ($mm == 'Nov') echo 'selected="true"';

Re: Select element

it should be selected="selected" not "true"

Site Timeline