Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MySql modul
#1
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.
Reply


Messages In This Thread
MySql modul - by Baster - 28.10.2016, 09:00
RE: MySql modul - by Galin - 28.10.2016, 14:22
RE: MySql modul - by Nubzior - 28.10.2016, 16:01
RE: MySql modul - by Baster - 31.10.2016, 11:48

Possibly Related Threads…
Thread Author Replies Views Last Post
  mysql module new problem in 0.1.0 Baster 2 3,638 12.07.2017, 10:58
Last Post: Baster

Forum Jump:


Users browsing this thread: 1 Guest(s)