Wie kann ich mittels SQL Query mehrere Zeilen in Lua via outputChatBox ausgeben? Da ich nur PHP kann hab ich versucht eine PHP abfrage in eine lua abfrage umzuwandeln. Leider ging das nicht so wie ich mir das vorgestellt hatte.
Lua
result = mysql_query ( handler, "SELECT * from testtable" )
while rsatz = mysql_fetch_assoc ( result ) do
outputChatBox ( rsatz["Name"] ..", Betreff: "..rsatz["Betreff"], player, 200, 200, 20 )
end
Grüße