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
Try $_POST['cust_id'][0]
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php