23.02.2013, 21:14
mysql_fetch_field uses field index, not name.
You need mysql_fetch_field_row (mysql_get_field macro to be exact)
pawn Код:
//Bad
mysql_fetch_field("wafflez", str);
//Good
mysql_fetch_field(0, str);
pawn Код:
mysql_fetch_field("WAFFLEZ", fetchVal);
//changes to
mysql_get_field("WAFFLEZ", fetchVal);