RE: [PHP] Odd Problem
| From: | John W. Holmes | Date: | Mon, 14 Oct 2002 02:02:18 +0000 |
| Subject: | RE: [PHP] Odd Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119829@lists.php.net to get a copy of this message | ||
What does your script look like? PHP isn't going to just make up an
error. If it tells you that was the error from a query, then it really
was.
---John Holmes...
> -----Original Message-----
> From: Stephen [mailto:webmaster@melchior.us]
> Sent: Sunday, October 13, 2002 8:44 PM
> To: PHP List; holmes072000@charter.net
> Subject: Re: [PHP] Odd Problem
>
> I got the spelling and everything right...
>
> ----- Original Message -----
> From: "John W. Holmes" <holmes072000@charter.net>
> Newsgroups: php.general
> To: "'Stephen'" <webmaster@melchior.us>; "'PHP
> List'"
> <php-general@lists.php.net>
> Sent: Sunday, October 13, 2002 4:17 PM
> Subject: RE: [PHP] Odd Problem
>
>
> > 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
> >
> >