24.03.2013, 11:01
Hit this error with MySQL, Can someone please help?
Код:
ConnectMySQL() { if(mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_DB, MYSQL_PASS)) { print("[MySQL] Connection to the MySQL Database was successfully!"); } else { print("[MySQL] Could not connect to the MySQL Database!"); } } CheckMySQL() { if(mysql_ping() == -1) mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_DB, MYSQL_PASS); }
Код:
F:\True City Reality\gamemodes\xG2.pwn(929) : error 027: invalid character constant F:\True City Reality\gamemodes\xG2.pwn(929) : error 029: invalid expression, assumed zero F:\True City Reality\gamemodes\xG2.pwn(929) : warning 215: expression has no effect F:\True City Reality\gamemodes\xG2.pwn(929) : error 001: expected token: ";", but found "." F:\True City Reality\gamemodes\xG2.pwn(929) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.