RE: [PHP] Quick Question about Variables --- NEVERMIND

From: Date: Wed, 12 Dec 2001 09:37:02 +0000
Subject: RE: [PHP] Quick Question about Variables --- NEVERMIND
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77408@lists.php.net to get a copy of this message
Hah, I saw parse error and assumed it was because i was trying to use a function that didnt exist. Little did I know I mistyped something. It works now, sorry for the inconvience. Thanks, Matt -----Original Message----- From: Matthew Walkup [mailto:mwalkup@morningstarstudios.net] Sent: Wednesday, December 12, 2001 1:27 AM To: php-general@lists.php.net Subject: [PHP] Quick Question about Variables 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#77408) next »