Hi All!
Hope I'm not bothering you nice people too much.
I have a account called Test, when I click the submit button I get this
error
Unknown column 'Test' in 'field list'
My table only has two fields id and user_name
I am not trying to insert the data into the field Test but into usre_name.
Never mind I forgot to put ' ' around $u_name in my insert.
Jen
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Change your query to this and make sure your ID field is set to
"auto_increment"
INSERT INTO entry (user_name) values ('$name')
That'll work for sure! ;-)
Jennifer Downey wrote:
> Hi All!
>
> Hope I'm not bothering you nice people too much.
>
> I have a account called Test, when I click th
fer Downey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 6:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Unknown column 'Test' in 'field list'
Never mind I forgot to put ' ' around $u_name in my insert.
Jen
--
PHP Database Mailing List (http://