Problem with loading string from MySQL (R8)
#2

Well i had the same problem but with cache_get_row. All i did is format it and it worked.
For example :
pawn Код:
cache_get_row(TotalBusinesses, 1, temp), format(BizzData[TotalBusinesses][bOwner],sizeof(temp),temp);
pawn Код:
cache_get_field_content(i, "nimi", string); // Problem should be here
format(FirmaInfo[i][fNimi],sizeof(string),string);
Should probably work..not sure tho.

@PaulDinam - oh.. so you are a wizard .. you know that dbHandle is his variable to store the connection and that 1 is the field id for the name of the 'firma' .. oh cool.Can you teach me sometime soon ?
Reply


Messages In This Thread
Problem with loading string from MySQL (R8) - by kristo - 22.03.2013, 12:12
Re: Problem with loading string from MySQL (R8) - by InfiniTy. - 22.03.2013, 12:30
Re: Problem with loading string from MySQL (R8) - by PaulDinam - 22.03.2013, 12:32
Re: Problem with loading string from MySQL (R8) - by kristo - 22.03.2013, 12:45

Forum Jump:


Users browsing this thread: 1 Guest(s)