is it possible to see mysql_error() on Codeigniter?

i have an Codeigniter app (latest version of CI) that is writing a transaction to a mysql database. I'm fairly sure that I've got a foreign key constraint error occurring, but I can find no way to make CI tell me the specific error. mysql_error() comes back empty.

asked Jun 1, 2015 in codeinither by rajesh
0 votes

1 Answer

0 votes
Best answer

Yes, this is the mysql_error() wrapper.


And the mysql_errno wrapper is:

answered Jun 1, 2015 by rajesh