Jump to content
Larry Ullman's Book Forums

Recommended Posts

The benefit of this line is that it includes the query with the error message. If that's useful to you, you'd use this wherever you want that. If that's not needed, you can forgo trigger_error() and the mysqli_error() will be caught by your error handler instead. 

Link to comment
Share on other sites

 Share

×
×
  • Create New...