mysql issues...
#1

whats wrong with this:
pawn Код:
new MySQL:connection = mysql_init(LOG_ALL, 1);
mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB, connection, 1);
mysql_query("CREATE TABLE IF NOT EXISTS `test_table` (\`test_int` INT( 2 ) NOT NULL DEFAULT '0')", -1); //this line has the error!
mysql_close(connection);
errors:
Код:
C:\Documents and Settings\Matt\Desktop\chedder's freeroam\gamemodes\CHEDDER.pwn(74) : error 027: invalid character constant
C:\Documents and Settings\Matt\Desktop\chedder's freeroam\gamemodes\CHEDDER.pwn(74) : error 027: invalid character constant
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
WTH?
Reply


Messages In This Thread
mysql issues... - by sciman001 - 09.05.2011, 22:54
Re: mysql issues... - by JaTochNietDan - 09.05.2011, 22:57
Re: mysql issues... - by sciman001 - 09.05.2011, 23:01

Forum Jump:


Users browsing this thread: 1 Guest(s)