MySQL Error: #1064
#3

try to use strcat

pawn Код:
format(string,sizeof(string),"");
    strcat(string,"CREATE TABLE IF NOT EXISTS `%02d/%02d/%04d` (`ID` INT(11) NOT NULL auto_increment, `text` varchar(255) NOT NULL default '', PRIMARY KEY (`ID`)) ");
    strcat(string,"%s INSERT INTO `%02d/%02d/%04d` SET `text` = '[%02d:%02d:%02d] %s'", string);
    mysql_format(sqlserver, string, sizeof(string), string, date[2], date[1], date[0],date[2], date[1], date[0], time[0], time[1], time[2], log);
    return print(string), mysql_tquery(sqlserver, string);
im still not 100% sure if this works or not ! if you got errors post them here
Reply


Messages In This Thread
MySQL Error: #1064 - by benel1 - 06.02.2015, 21:32
Re: MySQL Error: #1064 - by benel1 - 07.02.2015, 02:20
Re: MySQL Error: #1064 - by JeaSon - 07.02.2015, 06:49
Re: MySQL Error: #1064 - by EnforcerDon - 07.02.2015, 06:54
Re: MySQL Error: #1064 - by benel1 - 07.02.2015, 07:49

Forum Jump:


Users browsing this thread: 1 Guest(s)