Re: Trouble passing mysql table name to php function and using it!



On Tue, 27 Feb 2007 23:47:17 +0100, <kennthompson@xxxxxxxxx> wrote:
$result2 = fms_mysql_query("SELECT * FROM '{$tableName}'");

backticks (`) are _not_ single quotes(')...

Use "SELECT * FROM `{$tableName}`"

--
Rik Wasmus
.