Re: [PHP] $_post and array question

2004-05-18 Thread Amon
Thanks for help Daniel Clark. I know i must use isset function but that was not the issue. But thanks anyway:) Curt Zirzow thanks for your reply also. But that has nothing to do with reference. If you use reference or not.. it still would not result in an error (hee... I want an error :P) Matt Ma

[PHP] Re: $_post and array question

2004-05-18 Thread Amon
guess somehow PHP does something to the function argument if it does not exist: Creating it and give it the NULL value. But this should at least give us a warning because it could result in unwanted code! But i dunno know this for sure. Could anybody help me on this? "Amon" <[EM

[PHP] $_post and array question

2004-05-17 Thread Amon
["test_arr"] to $arr_test like this: functionX($_POST["test_arr"]) $arr_test = $_POST["test_arr"]; Knowing that $_POST["test_arr"]) does not exist.. this code will not result in a error. Is this a bug,error,etc? Should this not also produce a novice error? T

[PHP] $_post and array question

2004-05-17 Thread Amon
["test_arr"] to $arr_test like this: functionX($_POST["test_arr"]) $arr_test = $_POST["test_arr"]; Knowing that $_POST["test_arr"]) does not exist.. this code will not result in a error. Is this a bug,error,etc? Should this not also produce a novice error? T

[PHP] $_post and array question

2004-05-17 Thread Amon
["test_arr"] to $arr_test like this: functionX($_POST["test_arr"]) $arr_test = $_POST["test_arr"]; Knowing that $_POST["test_arr"]) does not exist.. this code will not result in a error. Is this a bug,error,etc? Should this not also produce a novice error? T