AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Can some correct this line?? (https://forums.alliedmods.net/showthread.php?t=159960)

bobby3 06-23-2011 18:02

Can some correct this line??
 
getting this wierd 1064 Mysql error O_o
PHP Code:

UPDATE `rankingSET `exp` = '%i' SET `exp2` = '%i'  SET `hora` = '%i' SET `minu` = '%i' SET `seg` = '%i' SET `segtime` = '%i'SET `svtime` = '%i' WHERE `ranking`.`steamid` = '%s'

whats wrong with it??

xPaw 06-23-2011 18:25

Re: Can some correct this line??
 
Because that's bullshit, that's not how you update things.

Also, this has nothing to do with AMXx.

Exolent[jNr] 06-23-2011 18:40

Re: Can some correct this line??
 
The correct query format is:

SET field = value, field = value, field = value, ...


All times are GMT -4. The time now is 23:33.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.