The mysql query was unsucessful. --> If an SQL query is unsucessful the mysql driver will set
$sqlQry to false.
Try to check if the query was sucessful before by checking of $sqlQry is false.
Change "$sqlQry = mysql_query($sqlCmd,$sqlServ);" (line 29) to the following:
Code:
$sqlQry = mysql_query($sqlCmd,$sqlServ) or die(mysql_error());
DON'T DO THAT IF YOUR WEBSITE IS LIVE AND USED BY YOUR PLAYERS!
Come back with the error message you get then and I'll be pleased to help you!
- Crysis