How can you put a variable into a query?
I have a DB with several tables for difernt users.
the table name is a combination of username and description.
ie.
fredcustomer
pamcustomer
joecustomer
Here is the query:
SELECT firstname lastname FROM fredcustomer ORDER.......
I have the variable from a previous query and I need to put it in the prefix to customer.
.....FROM <?$username?>customer ORDER.....
or
.....FROM '${"username".customer}' ORDER.....
But it wont work...
?????????????
?????????????