Need help MYSQL Query on dynamic table..., been doing for almost a week but still it didn't work!, im using PHP5 and MYSQL, im using PS_Pagination class script that paginates my table, that's why im restricted to do it in one line of query... below is an example of what my specs is...
e.g.
DB_LIST.DBID => database/table
ID DBID
1 100
2 300
USER_100.account => database/table
ID name
1 Name1
2 Name2
USER_200.account => database/table
ID name
1 Name1
2 Name2
Query:
'SELECT account.name FROM DB_LIST.DBID INNER JOIN USER_{DBID}.account ON account.id=DBID.accountid'
any help will be appreciated!!!