Re: check boxes... set the VALUE or just echo CHECKED????
| From: | Sudeep Zamudra | Date: | Mon, 05 Jul 2004 09:20:25 +0000 |
| Subject: | Re: check boxes... set the VALUE or just echo CHECKED???? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24100@lists.php.net to get a copy of this message | ||
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@csuhayward.edu> 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!