Line too long
#6

Quote:
Originally Posted by mamorunl
Посмотреть сообщение
Because you got two INSERT INTOs whilst the second should be an UPDATE.

Even so, change your database and set default values and you wont need such a long query
I didnt understand much, can you do that in this code ?

pawn Код:
format(query, sizeof(query), "INSERT INTO data (user, password, IP, score, money, kills, deaths, registered, loggedin, level, cookies, cakes, biscuits, icecreams, YG, unlimitedb, quickweapon, vgoto, playerfly, TP, YGFunction1) VALUES('%s', SHA1('%s'), '%s', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)",pname,passwordstring,IP);
mysql_query(query);
format(query, sizeof(query), "INSERT INTO data (YGFunction2, YGFunction3, YGFunction4, YGFunction5, YGFunction6, Bank, weed, Condoms, inalcatraz, hours, minutes, seconds, x1, y1, z1, interior1) VALUES(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)");
mysql_query(query);
Reply


Messages In This Thread
Line too long - by Crazyboobs - 02.09.2012, 14:38
Re: Line too long - by mamorunl - 02.09.2012, 14:41
Re: Line too long - by Deal-or-die - 02.09.2012, 14:47
Re: Line too long - by Crazyboobs - 02.09.2012, 22:12
Re: Line too long - by mamorunl - 02.09.2012, 22:22
Re: Line too long - by Crazyboobs - 02.09.2012, 22:24
Re: Line too long - by Kirollos - 02.09.2012, 22:25
Re: Line too long - by Crazyboobs - 02.09.2012, 22:38
Re: Line too long - by mamorunl - 02.09.2012, 22:45
Re: Line too long - by Crazyboobs - 02.09.2012, 22:48

Forum Jump:


Users browsing this thread: 1 Guest(s)