Flexigrid - how to Optimize delete.php to handle different mysql tables - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Flexigrid - how to Optimize delete.php to handle different mysql tables (/showthread.php?tid=27393) |
Flexigrid - how to Optimize delete.php to handle different mysql tables - El Forum - 02-09-2010 [eluser]jikowhitewolf[/eluser] After working with Flexigrid, I notice I have 4 delete.php scripts needed for 4 different tables update. I wish to ask if there is anyway I can pass a param of the database table name to delete php, so that 1 delete.php can handle any table query to delete the item by id. I am very new with jquery and json, hope to get any advice on this. Code: function deleteRecord(com,grid) |