MySQL error 2006: mysql server has gone away
It may be easier to check if the connection and re-establish it if needed. See PHP:mysqli_ping for info on that.
It may be easier to check if the connection and re-establish it if needed. See PHP:mysqli_ping for info on that.