CodeIgniter Forums
How can we delete multiple by checkbox using codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: How can we delete multiple by checkbox using codeigniter (/showthread.php?tid=22496)



How can we delete multiple by checkbox using codeigniter - El Forum - 09-11-2009

[eluser]Unknown[/eluser]
Dear All,

I want to get values from url like exmaple.com/test/delete/3,4,5. And then i want to assign the function delete() in codeigniter. i don't know how can i do?

Best,

veasna.


How can we delete multiple by checkbox using codeigniter - El Forum - 09-11-2009

[eluser]Dam1an[/eluser]
The easiest way is to read the user guide which shows how the 3rd+ segments become arguments to the function


How can we delete multiple by checkbox using codeigniter - El Forum - 09-11-2009

[eluser]NateL[/eluser]
[quote author="Dam1an" date="1252695405"]The easiest way is to read the user guide which shows how the 3rd+ segments become arguments to the function[/quote]
Right, however - I think they are referring to removing multiple entries, via Checkbox.

This is a duplicate thread.. here's the other: http://ellislab.com/forums/viewthread/128863/


How can we delete multiple by checkbox using codeigniter - El Forum - 09-11-2009

[eluser]skunkbad[/eluser]
My Community Auth system has an example of multiple checkbox processing to delete or approve registrations. You could download it and see what I did. Link in sig.