Re: [PHP] conditional question.

2003-02-26 Thread Chris Hayes
At 17:10 26-2-03, you wrote: I have a conditional that looks like this: if ((is_array($HTTP_POST_VARS['cart_quantity'])) && (is_array($HTTP_POST_VARS['products_id']))){ //do stuff } The evaluation returns false. What makes this confusing is just before this block, for debugging purposes, I

[PHP] conditional question.

2003-02-26 Thread Jason Jacobs
G'day all. I'm trying to hack some code, and I've run into a goofy problem. I have a conditional that looks like this: if ((is_array($HTTP_POST_VARS['cart_quantity'])) && (is_array($HTTP_POST_VARS['products_id']))){ //do stuff } The evaluation returns false. What makes this confusing is