Problemwith mysql![error 075: input line too long ]
#8

Something like
pawn Код:
new String[ calcolate the size of the query];
strcat(String,"CREATE TABLE IF NOT EXISTS `Accounts` (");
strcat(String,"`id` int(11) NOT NULL AUTO_INCREMENT,");
strcat(String,"`name` varchar(24) NOT NULL,");
strcat(String,"`pass` varchar(129) NOT NULL,");
strcat(String,"`salt` varchar(30) NOT NULL,");
strcat(String,"`health` float NOT NULL,");
strcat(String,"`X` float NOT NULL,");
strcat(String,"`Y` float NOT NULL,");
strcat(String,"`Z` float NOT NULL,");
strcat(String,"`A` float NOT NULL,");
strcat(String,"`interior` int(2) NOT NULL,");
strcat(String,"`vw` int(11) NOT NULL,");
strcat(String,"`skin` int(3) NOT NULL,");
strcat(String,"`Respect` int(3) NOT NULL,");
strcat(String,"`EXP` int(3) NOT NULL,");
strcat(String,"`Level` int(3) NOT NULL,");
strcat(String,"`Admin` int(3) NOT NULL,");
strcat(String,"`VIP` int(3) NOT NULL,");
strcat(String,"`Mapper` int(3) NOT NULL,");
strcat(String,"`Helper` int(3) NOT NULL,");
strcat(String,"PRIMARY KEY (`id`) )");
Then use mysql_function_query for String
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)