I have die(mysql_error()) on a lot of my queries and never had an issue with them exiting out of pages when some error comes back... until today.

is that what die(mysql_error()) is capable of. If there is some error response from mysql, does it act like an exit() function and just exit out of the script at that point?

feedback appreciated