I want to write this and have $username replaced with the contents of the username field from database1 and "table1_$username" is a table in database2
I tried this during pulling my hair out and I think I am on the right track but can't get it to work. Where am I going wrong?
but it just doesn't work. I can either get
"Table 'databse2.table1_' doesn't exist "
or
"Table 'databse2.table1_Resource' doesn't exist "