How can I pass an array in the url in javascript?
I tried this :
http://codeigniter/index.php/AssistanceMonitoringModule/assistanceMonitoring/getReport?remarks="+stat+"&sortBy="+sortBy+"&fromDate="+fromDate+"&toDate="+toDate+"&area="+area;
which the remarks is the one being catch in PHP as an array and stat is the javascript array being supplied in the remarks. Is there any solution for that?
whenever a time catch the remarks in PHP which I use $this->input->get_post('remarks') (since im using codeigniter) i got an error 'Invalid argument supplied for foreach()'
Thans for your help. :)