MySQL - Fields/Rows are empty, but they aren't.
#2

pawn Code:
if(mysql_retrieve_row())
{
    mysql_query("SELECT * FROM `GlobalInfo` WHERE `ConfigKey` = 'GasStationFuel'");
    mysql_store_result();
    mysql_get_field("ConfigValue",Store);
    GlobalInfo[GasStationFuel] = strval(Store);
}
Should work.
Reply


Messages In This Thread
MySQL - Fields/Rows are empty, but they aren't. - by Jochemd - 15.10.2011, 10:26
Re: MySQL - Fields/Rows are empty, but they aren't. - by SloProKiller - 15.10.2011, 10:28

Forum Jump:


Users browsing this thread: 1 Guest(s)