I would like to Know how can I in PHP code, execute two mysql query (query_1 and query_2) but display only the results of query_2 for each result of query_1 like that :
query_1==> `SELECT tbl_name FROM table_ref `
query_2 ==> `SELECT id,name FROM (result of the first query)`
query_1 return the names of tables : table1, table2, table3, and with the query_2 I have to do this :
SELECT id,name FROM table1 and SELECT id,name FROM table2 ... as in a loop
Thanks in advance for your advice !