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