I want to make query to a table.
I want to use a variable instead table name.
SELECT * FROM table WHERE 1=1
instead of above i want to do this:
SELECT * FROM $table WHERE 1=1
I so the above but don't work....
How can i achieve this?
Moreover please inform me how can I do multiple queries with one Select command.
SELECT * FROM table,table1,table2,table3 WHERE 1=1
I can't achieve this again
Thanks a lot...