25.12.2013, 10:49
(
Последний раз редактировалось Aliassassin123456; 25.12.2013 в 15:26.
)
Solved
Hi, i have this problem:
near ' '?
Hi, i have this problem:
Код:
[15:24:54] [ERROR] CMySQLQuery::Execute[SendQuery()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
pawn Код:
new ali[350];
format(ali, 350, "CREATE TABLE IF NOT EXISTS `%s` \
(`tPX` float(20) NOT NULL,\
`tPY` float(20) NOT NULL,\
`tText` varchar(500) NOT NULL,\
`tLSX` float(20) NOT NULL,\
`tLSY` float(20) NOT NULL,\
`tTSX` float(20) NOT NULL,\
`tTSY` float(20) NOT NULL,\
`tAlign` int(20) NOT NULL,\
`tColor` int(25) NOT NULL,\
`tUB` int(10) NOT NULL,\
`tBC` int(25) NOT NULL,\
`tShadow` int(20) NOT NULL,\
`tOL` int(25) NOT NULL,\
`tBGC` int(25) NOT NULL,\
`tFont` int(10) NOT NULL,",inputtext);
strcat(ali, "`tProportional` int(20) NOT NULL,\
`tSelectable` int(10) NOT NULL,\
`tPM` int(20) NOT NULL,\
`tPRX` float(20) NOT NULL,\
`tPRY` float(20) NOT NULL,\
`tPRZ` float(20) NOT NULL,\
`tPRZoom` float(20) NOT NULL,\
`tPVC1` int(10) NOT NULL,\
`tPVC2` int(10) NOT NULL,\
`Tyype` int(5) NOT NULL)\
ENGINE=MyISAM;",350);
mysql_tquery(handle, ali, "SendQuery", "");
Код:
OS: Windows 7 64bit MySQL Server version: 5.6.12 Plugin version: R34
![undecided](images/smilies/neutral.gif)