28.10.2016, 09:00
Hi.
How to get the data from the second or third row?
local query = mysql_query(handler, "select * from...");
local rowCount = mysql_num_row(query) // rowCount = 4
//Further
local data = mysql_fetch_row(query);
or
local data = mysql_fetch_assoc(query);
I have access to the data of the first row.
How to get the data from the second or third row?
local query = mysql_query(handler, "select * from...");
local rowCount = mysql_num_row(query) // rowCount = 4
//Further
local data = mysql_fetch_row(query);
or
local data = mysql_fetch_assoc(query);
I have access to the data of the first row.