$arr_test = $_POST["test_arr"];

Knowing that $_POST["test_arr"]) does not exist.. this code will not
in a error.

Is this a bug,error,etc? Should this not also produce a novice error?

I think when you are doing this

$arr_test = $_POST["test_arr"];

$_POST["test_arr"] is a local variable to the functionX, not the $_POST
superglobal. (I might be wrong)

try to define you function like this:
$arr_test = $testArr;

and call it like this:
$test = functionX($_POST["test_arr"]); //you will probably get your
undefined index warning here

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to