I am getting data from a web service and some times mysql times out "mysql server has gone away" and the whole page crashes.Is there any way I can capture such kind of error and not show the user a blank screen with the error message but instead redirect to some other page ... (programming language used is PHP)