Click to See Complete Forum and Search --> : getting an array when register_global is off?


amahmood
08-28-2005, 09:30 PM
When register_global is off one have to use $_POST to get the values from a form. How about arrays?

for example when I have a form with a text box name "myValue" I would code:

$myValue = $_POST['myValue'];

Now how about when I have $myValue[]?

NogDog
08-28-2005, 11:34 PM
$myValue = $_POST['myValue'];

:)