Stored procedure for editing the data is not working - 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: Stored procedure for editing the data is not working (/showthread.php?tid=43999) |
Stored procedure for editing the data is not working - El Forum - 07-30-2011 [eluser]Rahul gamit[/eluser] Hello, I am trying to edit my records using the storedprocedure of mysql. The problem is that , when i am tracing the lastquery which has been called very last using $this->db->last_query() it gives the called storedprocedure with parameters but it wont able to update any records in database. here is my code My StoredProcedure Code: CREATE DEFINER=`root`@`localhost` PROCEDURE `tblaccountmaster_edit`( and this is how i am calling this storedprocedure Code: $query= "CALL tblaccountmaster_edit(?,?,?,?,?,?,?,?,?,?,?,?,?,?)"; i am using $this->db->last_query() so it will gives me the query which has been lastly called like this Code: CALL tblaccountmaster_edit('19','test infotech','test first name','test last name','surat','surat','gujarat','1','394210','979797979','1321321','123','265629','[email protected]') thanks in advance |