Mysql Float problem
#6

Sorry if I wrong, but U are doing a free result here:

pawn Код:
new row[128];
        new field[11][24];
        mysql_fetch_row_format(row, "|");
        explode(row, field, "|");
->        mysql_free_result();
        AHouseData[i][ID] = strval(field[0]);
        AHouseData[i][price] = strval(field[1]);
        format(AHouseData[i][Owner], 24, "%s", field[2]);
        AHouseData[i][HouseX] = strval(field[3]);
        AHouseData[i][HouseY] = strval(field[4]);
        AHouseData[i][HouseZ] = strval(field[5]);
I think you have to put there:

pawn Код:
new row[128];
        new field[11][24];
        mysql_fetch_row_format(row, "|");
        explode(row, field, "|");
        AHouseData[i][ID] = strval(field[0]);
        AHouseData[i][price] = strval(field[1]);
        format(AHouseData[i][Owner], 24, "%s", field[2]);
        AHouseData[i][HouseX] = strval(field[3]);
        AHouseData[i][HouseY] = strval(field[4]);
        AHouseData[i][HouseZ] = strval(field[5]);
        mysql_free_result();
Reply


Messages In This Thread
Mysql Float problem - by thimo - 13.01.2012, 07:10
Re: Mysql Float problem - by [HiC]TheKiller - 13.01.2012, 07:14
Re: Mysql Float problem - by thimo - 13.01.2012, 07:15
Re: Mysql Float problem - by thimo - 13.01.2012, 08:00
Re : Mysql Float problem - by jaskiller - 13.01.2012, 08:05
Re: Mysql Float problem - by Ricop522 - 13.01.2012, 11:03
Re: Mysql Float problem - by thimo - 13.01.2012, 12:54

Forum Jump:


Users browsing this thread: 2 Guest(s)