17.11.2014, 00:51
(
Последний раз редактировалось Cheesus; 17.11.2014 в 11:38.
)
Hey im having an error with my sql.
Code:
Error:
whats wrong with the query?
Fix = +rep
Code:
pawn Код:
format(query, sizeof(query), "SELECT `id_member` FROM `members` WHERE `member_name` = '%s'",playerName);
mysql_query(query, MYSQL_RESULT_REGISTER, playerid, connection);
mysql_store_result(connection);
mysql_fetch_field("id_member",result,connection);
Quote:
[02:42:01] [MySQL] Error (0): Function: mysql_store_result called when no prior successful query executed. [02:42:01] [MySQL] Error (0): Function: mysql_fetch_field called when no result stored. [02:42:01] [MySQL] Error (0): Could not execute query. Unknown column 'aqweqaaw' in 'where clause'. |
Fix = +rep