RE: [PHP-WIN] PHP/MySQL Help

2001-04-10 Thread Svensson, B.A.T.
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&

Re: [PHP-WIN] PHP/MySQL Help

2001-04-10 Thread Tom Mathews
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

RE: [PHP-WIN] PHP/MySQL Help

2001-04-10 Thread Svensson, B.A.T.
>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

Re: [PHP-WIN] PHP/MySQL Help

2001-04-10 Thread Tom Mathews
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

[PHP-WIN] PHP/MySQL Help

2001-04-10 Thread Bob Sears
I am no stranger to programming, having done that professionally for 30+ years; however, PHP is a new animal to me. As usual, the text I have leave a little to be desired. The reason for this email is to ask for a little assistance in getting over a coding "speed bump". I am rewriting a shoppi