Jump to content

[REZOLVAT] [PAWN] - Eroare 213 - tag mismatch


rAcs
 Share

Recommended Posts

  • Username: rAcs

  • Problemă Ã®ntâlnită: warning 213: tag mismatch

Detalii despre problemă: Imi da eroare la compilare si nu inteleg de ce.

Ce ai încercat să faci înainte să postezi?: Presupun ca este problema "SQL" - new SQL = -1

Cod sursă (recomandat pastebin.com):  


SQL = mysql_connect("localhost", "root", "", "racs_db");


mysql_format(SQL, gQuery, sizeof(gQuery), "SELECT * FROM 'users' WHERE 'Name'='%s' LIMIT 1", GetName(playerid));
mysql_tquery(SQL, gQuery, "checkAccount", "i", playerid);

Alte detalii: Multumesc

Link to comment
Share on other sites


SQL = mysql_connect("localhost", "root", "racs_db", "");


mysql_format(SQL, gQuery, sizeof(gQuery), "SELECT * FROM `users` WHERE `Name`='%s' LIMIT 1", GetName(playerid));
mysql_tquery(SQL, gQuery, "checkAccount", "i", playerid);
Edited by iPanter
Link to comment
Share on other sites

SQL = mysql_connect("localhost", "root", "racs_db", "");
mysql_format(SQL, gQuery, sizeof(gQuery), "SELECT * FROM `users` WHERE `Name`='%s' LIMIT 1", GetName(playerid));
mysql_tquery(SQL, gQuery, "checkAccount", "i", playerid);

La fel imi da. 

 

arata functia checkAccount

function checkAccount(playerid) {
switch(cache_num_rows()) {
case 0: ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Register", "Scrie o parola pentru a te putea inregistra:", "Select", "Cancel");
case 1: ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login", "Scrie parola pentru a te putea conecta:", "Select", "Cancel");
}
return 1;
}

Cineva stie de ce? Presupun ca este de la SQL.

Edited by rAcs
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...