Re: Error in $_POST
| From: | chris | Date: | Tue, 11 Mar 2003 06:30:33 +0000 |
| Subject: | Re: Error in $_POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139091@lists.php.net to get a copy of this message | ||
On Sun, 9 Mar 2003 20:01:33 +0530, Aspire Something <aspire420@hotpop.com> wrote:
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 KashyapTry $_POST['cust_id'][0] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/