I got a saved query in my database like this:
# id rapport_query # 12 SELECT tablename.tablerow, tablename.tablerow FROM tablename
Now what i want is to do execute this query with a php script and put the results in a array
and then make an csv of it.
Can someone help me with this ?