[fw-general] Re: Passing an array from PHP to Javascript

2008-09-16 Thread Colin Guthrie
dele454 wrote: I see exactly what you have been saying - again my mind was too saturated to see clearly! :( Anyway, just to reply one some of the questions you asked. The intention is that the user can either delete the picture indivually using the delete button next to each picture or select a

[fw-general] Re: Passing an array from PHP to Javascript

2008-09-16 Thread Colin Guthrie
dele454 wrote: Thanks for the tips. But i CAN'T apply any of them now. The design has been approved and i need to i implement things as they are. 'Over engineered' - I dont care. As long my code works as expected. I simply want to pass my PHP array into my javascript function. - very simple code

[fw-general] Re: Passing an array from PHP to Javascript

2008-09-16 Thread Colin Guthrie
dele454 wrote: WHat exactly am i doing wrong??? currently my URL reads as Code: http://mainevent.com/admin/galleries/delete-pics/pid/delete[]/type/event/id/313 I think the main hassle is from posting the form getting all the checkboxes in array delete[] to the js and then to the controller that