Quick Question about Variables

From: Date: Wed, 12 Dec 2001 09:26:43 +0000
Subject: Quick Question about Variables
Groups: php.general 
Request: Send a blank email to php-general+get-77407@lists.php.net to get a copy of this message
I have a form with checkboxes and they have a name of "associate_<id>". How can I call these variables (or other ideas of getting ID numbers from check boxes)? In PERL i know you can use ${"associate_".$id} but I cant seem to find the equivalent for PHP. I could then get a list of id's and check if each one is "on". I think this would be the easiest, but maybe someone else has another idea. Thanks in advanced, Matthew Walkup mwalkup@morningstarstudios.net

« previous php.general (#77407) next »