CMySQLHandler::Query(UPDATE Jatekosok SET UtolsoBejelentkezes\'2014-2-14 10:37:29\' WHERE Nev=\'Az_Igazi_Tudvari\') - An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'\'2014-2-14 10:37:29\' WHERE Nev=\'Az_Igazi_Tudvari\'\' at line 1)
new ev,ho,nap,ora,perc,mp; gettime(ora,perc,mp); getdate(ev,ho,nap); format(ido,sizeof(ido),\"%d-%d-%d %d:%d:%d\",ev,ho,nap,ora,perc,mp); format(astring, sizeof(astring), \"UPDATE Jatekosok SET UtolsoBejelentkezes=\'%s\' WHERE Nev=\'%s\'\",ido,nev); mysql_query(astring);
format(astring, sizeof(astring), \"UPDATE `Jatekosok` SET `UtolsoBejelentkezes`=\'%s\' WHERE `Nev`=\'%s\'\",ido,nev);
format(utolso,sizeof(utolso),\"%s\",strval(field[149])); format(astring,sizeof(astring),\"Utolsó bejelentkezésed: %s\",utolso);
format(astring, sizeof(astring), \"INSERT INTO Bejelentkezesek (Nev,Datum,UtolsoBejelentkezes) VALUES (\'%s\',\'%s\',\'%s\')\", nev,ido, utolso);
format(utolso,sizeof(utolso),\"%d\",strval(field[149]));
CMySQLHandler::Query(INSERT INTO Bejelentkezesek (Nev,Datum,UtolsoBejelentkezes) VALUES (\'Az_Igazi_Tudvari\',\'2014-2-14 13:18:58\',\'2014-02-14 13:10:5) - An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'\'2014-02-14 13:10:5\' at line 1)
format(utolso,sizeof(utolso),\"%s\",field[149]);
format(astring,sizeof(astring),\"Utolsó bejelentkezésed: %s\",utolso);
UPDATE `Bejelentkezesek` SET UtolsoBejelentkezes = CURRENT_TIMESTAMP WHERE Nev = \'[kiraly]Dfoglalo\';