Simple Array question

From: Date: Tue, 29 Jul 2003 17:08:39 +0000
Subject: Simple Array question
Groups: php.general 
Request: Send a blank email to php-general+get-157339@lists.php.net to get a copy of this message
Hi, If i am posting something like this from a form: <input type=checkbox name='id[sh1]' value=3> <input type=checkbox name='id[sh2]' value=4> How do i get the value of id[]? eg: I dont want the "sh1" and "sh2", i just want the "3" and "4" The reason i dont wan the sh1 and sh2 is those are dynamic and will be changing, I just need the values (in this case 3 and 4) to do some comparasion and assignment operations Kindly reply. Thank, -Ryan

« previous php.general (#157339) next »