RE: [PHP-DB] Datetime help in an INSERT...
| From: | John W. Holmes | Date: | Thu, 05 Jun 2003 23:34:03 +0000 |
| Subject: | RE: [PHP-DB] Datetime help in an INSERT... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28362@lists.php.net to get a copy of this message | ||
> I am now getting a completely different error that I cannot
figure
> out how it is related. I have passed the $td variable into the
function
> and
> then get it back as a POST variable from a hidden field within the
> function.
> Here is the error I am now seeing;
>
> Unknown column 'sn4265' in 'field list'
>
> This one is really throwing me at the moment as the only place
the
> value sn4265 is stored is in the $sbcuid variable. This $sbcuid
variable
> is
> not a part of the INSERT that I am performing which I think is
generating
> this error. I am guessing that you guys will need more info to help
out
> with this now. Just let me know what you want. Thanks again.
Well, if $sbcuid isn't being used, something with its value is. What
does the query look like? Common sense would say that if you're having
trouble with a query, you'd at least post that bit of code, right?
---John W. Holmes...
Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/