Re: HELP ME!!!!
| From: | Brian Clark | Date: | Fri, 16 Nov 2001 23:30:22 +0000 |
| Subject: | Re: HELP ME!!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74949@lists.php.net to get a copy of this message | ||
Hi P. Roescher,
@ 12:52:36 PM on 11/16/2001, P. Roescher wrote:
> <input type="checkbox" name=<?print $name?> value="ON">
You probably want something like:
<input type="checkbox" name="players['<?print $name?>']"
value="ON">
That may not work, if not:
<input type="checkbox" name="players[]" value="<?print
$name?>::ON">
Then:
while(list(,$player) = each($players))
{
list($name,$status) = explode('::',$player);
/* Optionally:
print "$name is $status<br>";
*/
}
(all untested)
--
-Brian Clark | PGP is spoken here: 0xE4D0C7C8
Please, DO NOT carbon copy me on list replies.