Error in $_POST
| From: | Aspire Something | Date: | Sun, 09 Mar 2003 14:31:33 +0000 |
| Subject: | Error in $_POST | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-139079@lists.php.net to get a copy of this message | ||
Hi guys ,
I am getting this error in php
___What I am doing;
1. I am posting data from one form and collecting it for execution as follows
$_POST['cust_id[0]']; // cust_id is an array of length 1 which is selected form an
drop down menu
2. register_globals is off
3. Also when i try to call an array element in to other array like
$first_array=[$second_array[the_index_value]];
I encounter the same problem.
___The error is:
Parse error: parse error, unexpected '[', expecting ']'
why am i getting this error am i doing some blunders ???
Loads of thanks in advance
Regards,
V Kashyap