isset inside echo?
| From: | Romulo Roberto Pereira | Date: | Thu, 18 Jan 2001 18:19:25 +0000 |
| Subject: | isset inside echo? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-35410@lists.php.net to get a copy of this message | ||
it is possible to use isset inside a echo?
like this:
$checked = "CHECKED";
$nothing = "";
echo "<input type=checkbox name=cb[0] value=$value[0]
".isset(cb[0])?$checked:$nothing.">";
Rom