[PHP] [SOLVED] Re: [PHP] disappearing array?

2007-09-21 Thread Jas
Found the problem. I had a typo on my conditional statement. if( $fix->ValArray( $_POST['add_order_items'] === -1 ) ) { $errors['add_order_array'] = $erlink; } Should have been: if( $fix->ValArray( $_POST['add_order_items'] ) === -1 ) { $errors['add_order_array'] = $erlink; } My eyes need to b

Re: [PHP] disappearing array?

2007-09-20 Thread David Otton
On Thu, 20 Sep 2007 12:58:28 -0600, you wrote: >I am not sure what the heck is going with this but here is my problem. > >I am trying to validate the contents of an array, then determine if the >errors are with the array or another form submitted variable. > >The problem is after the code validate

RE: [PHP] disappearing array?

2007-09-20 Thread Instruct ICC
Wow this formatted badly. (new hotmail on Safari -- MS made FF not even render well) Anyway, are you sure you are reaching the code you want to reach? Perhaps !== is overkill and maybe even wrong when you should use ==. Same with the other === usage? Try some echo "HERE1\n"; echo "HERE2\n"; t

[PHP] disappearing array?

2007-09-20 Thread Jas
I am not sure what the heck is going with this but here is my problem. I am trying to validate the contents of an array, then determine if the errors are with the array or another form submitted variable. The problem is after the code validates the array and other form variables using an if state