Re: check boxes... set the VALUE or just echo CHECKED????

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



what's wrong with this:----
 
<select name="testing">
 <option value=10 <?php echo "checked";?>>Ten</option>
 <option value=20>Twenty</option>
</select>
 
........SuDeEp......

"Leo G. Divinagracia III" <ldivinag@xxxxxxxxxxxxxx> wrote:
i'm thinking of just adding the CHECKED word to the ECHO'ed HTML 
statement instead of dealing with the VALUE.

what's the "proper" vs the "easy" way?

thanks... i googled a few pages and it really didnt give a good result.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


		
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux