How do you get a timeout message to display if a query is taking to long to process?
The default is 30 seconds. You can lower (or raise) this with set_time_limit().