25.09.2010, 19:07
Is there a entry in your Database yet? If not you cannot use UPDATE, you need to use INSERT in that case.
Also you could make it more effecient by not always formating the string. Use this:
I'm not 100% sure if this works, but i think so.
#edit: i corrected my post
Also you could make it more effecient by not always formating the string. Use this:
Код:
UPDATE `playerinfo` SET (`member`,`blabla`,`Blabla2`) VALUES ('%d','%d','%d') WHERE `user` = '%s'
#edit: i corrected my post