Forum Moderators: coopster
For example mysql_query($SQL) OR {trigger_error(mysql_error(); die(mysql_error();))}
did you try it, did it work? You should be able to use trigger_error on it's own to do what die does.
Try using throw and catch.
Or just call a function.