Hi There,

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 ?

Recommended Answers

All 3 Replies

Tnx, i can do somthing with that.

But can u tell me how i use the query that i saved in a table in my database ?
the query is in table "table1.column2" and the table where is want to get reccords from is "table3.column4"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.