Simple MySQL query that auto connects to a server if connection has timed out, or isn't there to begin with. Use in place of mysql_query.