RE: [PHP-DB] Stupid question
| From: | Ben Cairns | Date: | Fri, 18 May 2001 11:13:46 +0000 |
| Subject: | RE: [PHP-DB] Stupid question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9429@lists.php.net to get a copy of this message | ||
The value of a CHECKED Checkbox is 'CHECKED'
So, you would do:
<?
if ($x == 'CHECKED') { echo "Is Checked"; } else { echo "Isn\'t
Checked"; };
?>
hth
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: BenC@intasept.com
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK......"