17.10.2016, 20:16
why i get this error ?
the line where i get that error
another example where is the same but works
Код HTML:
server.pwn(10407) : warning 213: tag mismatch
Код HTML:
if(dialogid == DIALOG_FRIENDS) { if(response) { if(listitem == 0) { ShowPlayerDialog(playerid, DIALOG_ADDFRIENDS, DIALOG_STYLE_INPUT, "Add friend", "Type ID of the player you want to add as a friend:", "Add Friend", "Exit"); } if(listitem > 0) { new result[30],idd,status,title[50]; mysql_format(handle, gQuery, sizeof(gQuery), "SELECT `AName`, `ID`, `Status` FROM `players` WHERE `ID` = '%d'",Selected[playerid][listitem]); new Cache: membresult = mysql_query(handle,gQuery); for(new i, j = cache_get_row_count (); i != j; ++i) { cache_get_field_content(i, "aname", result); format(gQuery, 30, result); idd = cache_get_field_content_int(i, "id"); status = cache_get_field_content_int(i, "Status"); Selected2[playerid] = idd; if(status > 0) { format(title, sizeof(title), "[online] %s", gQuery); } else if(status == 0) { format(title, sizeof(title), "[offline] %s", gQuery); } } cache_delete(membresult); ShowPlayerDialog(playerid, DIALOG_FRIENDS2, DIALOG_STYLE_LIST, title, "Remove Friend\nView phone number", "Select", "Exit"); } } }
Код HTML:
mysql_format(handle, gQuery, sizeof(gQuery), "SELECT `AName`, `ID`, `Status` FROM `players` WHERE `ID` = '%d'",Selected[playerid][listitem]);
Код HTML:
mysql_format(handle, gQuery, sizeof(gQuery), "SELECT `SenderID`, `Date`, `Text`, `Seen` FROM `emails` WHERE `ID` = '%d'", Selectat[listitem][playerid]);