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

Re: [PHP] $_post and array question

2004-05-17 Thread Curt Zirzow
* Thus wrote Amon ([EMAIL PROTECTED]): > > 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? Taks a look at the d

Re: [PHP] $_post and array question

2004-05-17 Thread Matt Matijevich
[snip] 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? [snip] I think when you are doing this functionX($_POST["test_arr"])

Re: [PHP] $_post and array question

2004-05-17 Thread Daniel Clark
I've done a couple things. One is to use isset() and check first. The other is to add a hidden input field, that way something is always sent. > Best readers, > > //PHP version: 4.3.6 > > I have question concerning the following issue: > > I have a HTML input element of the type check. > >