![]() |
MySql modul - Printable Version +- Gothic Online Forums (https://archive.gothic-online.com) +-- Forum: Scripting (English) (https://archive.gothic-online.com/forum-11.html) +--- Forum: Scripting Help (https://archive.gothic-online.com/forum-12.html) +--- Thread: MySql modul (/thread-1861.html) |
MySql modul - Baster - 28.10.2016 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. RE: MySql modul - Galin - 28.10.2016 Code: function queryGetAll(query) RE: MySql modul - Nubzior - 28.10.2016 Squirrel Script
RE: MySql modul - Baster - 31.10.2016 Thank you, guys. |