zerofool2005 Posted May 31, 2009 Share Posted May 31, 2009 I have basic mysql_error() handling on. Eg mysql_query(QUERY) if(mysql_error()) { error_handling() } But im wondering. How can I make it handle errors throughout the script? Any ideas? Link to comment https://forums.phpfreaks.com/topic/160386-handle-all-mysql-errors/ Share on other sites More sharing options...
Ken2k7 Posted May 31, 2009 Share Posted May 31, 2009 You can create a class that handles all the MySQL querying and error reporting. Link to comment https://forums.phpfreaks.com/topic/160386-handle-all-mysql-errors/#findComment-846369 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.