Hi,
I have a correct sql string (I can retrieve the data from Terminal or SQLBrowser, but I can not in Lua).
I can count the number of rows (there are 4, and it is correct), but I can not retrieve the content.
Any idea ?
[code]
local sql = “select distinct villes.nom_ville, villes.pays FROM evenements, villes WHERE evenements.id_ville=villes.code”
for row in db_now:nrows(sql) do
print( tostring(row.villes.nom_ville) ) – this does not work
end
[/code] [import]uid: 5578 topic_id: 24800 reply_id: 324800[/import]