Very big string.
#1

SOLVED!
Reply
#2

Lol dude, u dont need that big string...
For all Queryes use 1 string with length 2048

and that code split with 5-6 queryes, not all in one, here is example from my script:
PHP код:
mysql_format(MySQLQuerysizeof(Query), "UPDATE `igraci_main` SET level = '%d', novac = '%d', skin = '%d', lider = '%d', clan = '%d', rank = '%d', droga = '%d', materijali = '%d' WHERE ime = '%s'",lvlpareskinliderclanrankdrogamaterijaliPlayerName(id));
    
mysql_query(MySQL,Query); 
and next update:
PHP код:
mysql_format(MySQLQuerysizeof(Query), "UPDATE `igraci_main` SET spawn = '%d', posao = '%d', ajail = '%d', pjail = '%d', ticketi = '%d', vozacka = '%d', kanap = '%d', gps = '%d', askq = '%d' WHERE ime = '%s'"spawnposaoajailpjailticketvozackakanapgpsaskqPlayerName(id));
    
mysql_query(MySQL,Query); 
Reply
#3

Quote:
Originally Posted by Dusan01
Посмотреть сообщение
Lol dude, u dont need that big string...
For all Queryes use 1 string with length 2048

and that code split with 5-6 queryes, not all in one, here is example from my script:
PHP код:
mysql_format(MySQLQuerysizeof(Query), "UPDATE `igraci_main` SET level = '%d', novac = '%d', skin = '%d', lider = '%d', clan = '%d', rank = '%d', droga = '%d', materijali = '%d' WHERE ime = '%s'",lvlpareskinliderclanrankdrogamaterijaliPlayerName(id));
    
mysql_query(MySQL,Query); 
and next update:
PHP код:
mysql_format(MySQLQuerysizeof(Query), "UPDATE `igraci_main` SET spawn = '%d', posao = '%d', ajail = '%d', pjail = '%d', ticketi = '%d', vozacka = '%d', kanap = '%d', gps = '%d', askq = '%d' WHERE ime = '%s'"spawnposaoajailpjailticketvozackakanapgpsaskqPlayerName(id));
    
mysql_query(MySQL,Query); 
Thank you. +1.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)