Re: Unknown column when column does exist.
| From: | lmlweb@mybc.com | Date: | Sun, 24 Feb 2002 17:22:33 +0000 |
| Subject: | Re: Unknown column when column does exist. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-85998@lists.php.net to get a copy of this message | ||
Jason,
> > Can't execute INSERT INTO events (TITLE, SUMMARY, ORG, CITY, PROVINCE,
> > DATE, REG_DATE, FEE) VALUES ('Another Event', 'Summary of this event
> > goes here', 'Another Organization', 'Coquitlam', 'BC',
> > 'Another Date',
> > 'Another Date', '$250') Unknown column 'ORG' in 'where
> > clause'
>
> Where is your 'where clause' coming from?
That's it! I forgot to change the table name! Remember that I said I
copied it from a working php file and renamed it, and thought I had changed
all elements needed? I overlooked that particular one! Thanks for pointing
it out the 'where clause' part. It should work now!
Again, thanks!
Laurie