onlyican Posted September 25, 2006 Share Posted September 25, 2006 This is going to be the last post from me for a while, well I hopeI have just about finished this websiteI have a function running, so everytime a MySQL query fails, the info is stored in a text documentBut how can I do the same thing every time a php error showsFatel Errors and Normal ErrorsAny suggestions Link to comment https://forums.phpfreaks.com/topic/22009-error-reporting/ Share on other sites More sharing options...
Daniel0 Posted September 25, 2006 Share Posted September 25, 2006 Have a look at [url=http://php.net/set_error_handler]set_error_handler()[/url] and [url=http://php.net/error_log]error_log()[/url]. Link to comment https://forums.phpfreaks.com/topic/22009-error-reporting/#findComment-98371 Share on other sites More sharing options...
onlyican Posted September 25, 2006 Author Share Posted September 25, 2006 ok, but error_log requires the function to be calledFor a fatel error, the error_log will not execute Link to comment https://forums.phpfreaks.com/topic/22009-error-reporting/#findComment-98395 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.