RE: [PHP-DB] Stupid question
| From: | Matt Williams | Date: | Fri, 18 May 2001 12:28:53 +0000 |
| Subject: | RE: [PHP-DB] Stupid question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9432@lists.php.net to get a copy of this message | ||
> So, you would do:
> <?
> if ($x == 'CHECKED') { echo "Is Checked"; } else { echo "Isn\'t
> Checked"; };
> ?>
Or
(isset($x)) ? "Is Checked" : "Not Checked";
M@