RE: [PHP] Odd Problem
| From: | John W. Holmes | Date: | Sun, 13 Oct 2002 21:17:21 +0000 |
| Subject: | RE: [PHP] Odd Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119810@lists.php.net to get a copy of this message | ||
Print your SQL to the screen and verify it's value is what you think it
is. Make sure it's accessing the right table.
---John Holmes...
> -----Original Message-----
> From: Stephen [mailto:webmaster@melchior.us]
> Sent: Sunday, October 13, 2002 5:03 PM
> To: PHP List
> Subject: [PHP] Odd Problem
>
> Hello,
>
> I'm running a script that inserts a form's contents into a MySQL
table.
> However, when I insert the contents, I get an error telling me this:
>
> Unknown column 'employee' in 'field list'
>
> I can't find the problem. I have a field in my table called employee
but I
> guess it doesn't see it. Any ideas why?
>
> Thanks,
> Stephen Craton
> http://www.melchior.us
> http://php.melchior.us