Hello all

Is there any way of using a string in an SQL query instead of using the
table name. Something along the lines of

$result=mysql_query("SELECT * FROM $tablename",$db);

this doesnt work it come up with a parse error

thankyou

Grant



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to