MySQL error in PAWN
#1

Hey, I deleted my coplicense, and now im getting errorz. Am tired and don't know what to do .


(53831 -- 5383 : error 001: expected token: ",", but found ";"



pawn Код:
mysql_format(dbhandle, query, sizeof query, "INSERT INTO user_licenses(uid, `key`, `is`) VALUES \
            (%d,'%e',%d),(%d,'%e',%d),(%d,'%e',%d),(%d,'%e',%d),(%d,'%e',%d) \
//here//            ON DUPLICATE KEY UPDATE `is` = VALUES(`is`)"
,  
            PlayerInfo[playerid][pdbID], "car", PlayerInfo[playerid][pCarLic],
            PlayerInfo[playerid][pdbID], "fly", PlayerInfo[playerid][pFlyLic],
            PlayerInfo[playerid][pdbID], "boat", PlayerInfo[playerid][pBoatLic],
            PlayerInfo[playerid][pdbID], "fish", PlayerInfo[playerid][pFishLic],
            PlayerInfo[playerid][pdbID], "gun", PlayerInfo[playerid][pGunLic],
           
//till here//       mysql_tquery(dbhandle, query, "", "");
Reply
#2

Nvm got it, forgot a ) .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)