Re: Trouble passing mysql table name to php function and using it!
- From: Rik <luiheidsgoeroe@xxxxxxxxxxx>
- Date: Wed, 28 Feb 2007 02:32:50 +0100
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
.
- References:
- Trouble passing mysql table name to php function and using it!
- From: kennthompson
- Re: Trouble passing mysql table name to php function and using it!
- From: Jerry Stuckle
- Re: Trouble passing mysql table name to php function and using it!
- From: kennthompson
- Re: Trouble passing mysql table name to php function and using it!
- From: Michael Fesser
- Re: Trouble passing mysql table name to php function and using it!
- From: kennthompson
- Trouble passing mysql table name to php function and using it!
- Prev by Date: Re: Trouble passing mysql table name to php function and using it!
- Next by Date: Re: How to remove row from ezSQL object?
- Previous by thread: Re: Trouble passing mysql table name to php function and using it!
- Next by thread: Re: Trouble passing mysql table name to php function and using it!
- Index(es):