invalid row index ('48')
#3

Well now is showing me the errors:

pawn Код:
21:55:48    CMySQLQuery::Execute[]  ERROR   (error #2013) Lost connection to MySQL server during query (Query: "INSERT INTO iplogs (`ip`,`playerid`) VALUES ('MyIP','8')")
pawn Код:
public LogIP(string[],psql)
{
    new query[500];
    mysql_format(SQL,query,500,"INSERT INTO iplogs (`ip`,`playerid`) VALUES ('%s','%d')",string,psql);
    mysql_tquery(SQL,query,"","");
    return 1;
}
and also
pawn Код:
21:55:48    CMySQLResult::GetRowDataByName()    ERROR   invalid row index ('48') (Query: "SELECT * FROM users WHERE `name`='Zlatan' AND `password`='AccountPassword'")
pawn Код:
new qstr[256];
    format(qstr,100,"SELECT * FROM users WHERE `name`='%s' AND `password`='%s'",playername2,password);
    new Cache: pass = mysql_query(SQL,qstr);
Reply


Messages In This Thread
invalid row index ('48') - by AlexuTzVs - 18.09.2016, 17:07
Re: invalid row index ('48') - by Konstantinos - 18.09.2016, 17:37
Re: invalid row index ('48') - by AlexuTzVs - 18.09.2016, 19:09
Re: invalid row index ('48') - by Konstantinos - 18.09.2016, 19:17
Re: invalid row index ('48') - by JordanZaundd - 18.09.2016, 20:52
Re: invalid row index ('48') - by Konstantinos - 19.09.2016, 08:38

Forum Jump:


Users browsing this thread: 1 Guest(s)