how to handle mysql error result? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: how to handle mysql error result? (/showthread.php?tid=55285) |
how to handle mysql error result? - El Forum - 10-18-2012 [eluser]webmastergrumpy[/eluser] hi, just wondering how to do this. Normally i would update a record and on errorresult i would insert the record or create table first; How to do this in codeigniter? how to handle mysql error result? - El Forum - 10-19-2012 [eluser]kreamik[/eluser] I just seeing on my friend's java code .. they usually use try .. catch .. to test error .. and i realize that PHP has it too. if you interested on this way .. you can start to learn try and catch in PHP |