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:[EMAIL PROTECTED]] > Sent: Sunday, October 13, 2002 8:44 PM > To: PHP List; [EMAIL PROTECTED] > Subject: Re: [PHP] Odd Problem > > I got the spelling and everything right... > > ----- Original Message ----- > From: "John W. Holmes" <[EMAIL PROTECTED]> > Newsgroups: php.general > To: "'Stephen'" <[EMAIL PROTECTED]>; "'PHP List'" > <[EMAIL PROTECTED]> > 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:[EMAIL PROTECTED]] > > > 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 > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php