SELECT 'test', * FROM `$db`.`$oldtable` #### You have an error in your SQL syntax near '* FROM `test`.`test_table` at line 1