note 105040 deleted from reserved.variables.post by danbrown
| From: | danbrown@php.net | Date: | Mon, 25 Jul 2011 12:26:28 +0000 |
| Subject: | note 105040 deleted from reserved.variables.post by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181828@lists.php.net to get a copy of this message | ||
Note Submitter: greg639
----
working in 100%
<form method="POST" action="edytor.php" name="form1">
<?php
$tab1=$_POST;
if (($tab1==Array()))
{
echo '<input type="checkbox" name="tab1" id="tab1"
/>select<br />';
}
else
{
echo '<input type="checkbox" checked name="tab1" id="tab1"
/>selected<br />';
}
?>
<input type="submit" value="submit"/></form>