Can I use an exception with a database query?

KitrarpSpoott

New Member
Is it possible to use an exception at the end of a mysql query instead of die()? I'd like to throw an exception and log it instead of killing the script.Would it be done like:\[code\]mysql_query(...) or throw new exception()??\[/code\]
 
Back
Top