Good day.!
Thank you for all your support to all my thread. By the way Ive got some error regarding of mysql query. I want to load all data from the table depending on the table name on the variable.!I dont know whats wrong with my query below.!
$coursesubject=$row_reclog['tablename'];
mysql_select_db($database_enamysqldb, $enamysqldb);
$query_reclevelsub = "SELECT * FROM $coursesubject";
$reclevelsub = mysql_query($query_reclevelsub, $enamysqldb) or die(mysql_error());
$row_reclog; is a field from mysql database then i put it in a variable called $coursesubject. But when i put the variable that holds the tablename in the query, the error said that $coursesubject table cannot be found. Whats wrong with my query.? Maybe i forgot to put some string concantination. But i dont know what is it.
Pls help. thank you very very much.
God bless.!