MYSQL Cache get row - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MYSQL Cache get row (
/showthread.php?tid=408450)
MYSQL Cache get row -
PaulDinam - 18.01.2013
cache_get_row(0, 14, temp), PlayerInfo[playerid][pWarns] = strval(temp),
how do i get row of a string?
Re: MYSQL Cache get row -
azzerking - 18.01.2013
Explain better, by what yo mean?
Do you mean get data from a row?
Re: MYSQL Cache get row -
PaulDinam - 18.01.2013
yes, if the row is varchar not INT.
Re: MYSQL Cache get row -
azzerking - 18.01.2013
Okay, which mysql plugin are you using?
This should help
pawn Код:
new query = mysql_query("SELECT * FROM TABLE");
mysql_store_result();
while(rows = mysql_fetch_rows($query))
{
// what yo wanna do with the return data
}