LOL! True enough! True enough!
>-Original Message-
>From: Tom Mathews [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, April 10, 2001 4:41 PM
>Cc: [EMAIL PROTECTED]
>Subject: Re: [PHP-WIN] PHP/MySQL Help
>
>
>True enough, but life's just a bitch sometimes! I don&
True enough, but life's just a bitch sometimes! I don't create the problems,
just work around them.
"Svensson, B.A.T." wrote:
> >Using quotes (and remebering to escape them) may or may not cure the
> problem - it
> >seems to be a bit intermittent. It's more reliable just to hard code the
> tabl
>Using quotes (and remebering to escape them) may or may not cure the
problem - it
>seems to be a bit intermittent. It's more reliable just to hard code the
tablename
>instead.
Yes, and then someone suddenly makes changes in the database schema - and
all your scripts stops to work... :)
--
PHP
Try using the table name instead of a variable containing the table name.
If you must use $tablename within the SQL statement then you should include it in
quotes.
The error that you are getting is basically saying that MySQL can't find the table
that you are looking for, which is true as you have