Guten Tag zusammen.
Pawn sagt mir die ganze Zeit diesen Fehler: error 035: argument type mismatch (argument 1)
Fehler Code:
stock mysql_GetString(Table[], Field[], Where[], Is[])
{
new query[128], Get[128];
new TableEx[50], FieldEx[50], WhereEx[50], IsEx[50];
mysql_real_escape_string(Table, TableEx);
mysql_real_escape_string(Field, FieldEx);
mysql_real_escape_string(Where, WhereEx);
mysql_real_escape_string(Is, IsEx);
format(query, sizeof(query), "SELECT `%s` FROM `%s` WHERE `%s` = `%s`",Field,Table,Where,Is);
mysql_query(query); //<-- Fehler Zeile
mysql_store_result();
mysql_fetch_row(Get);
mysql_free_result();
return Get;
}
MfG. Dome