Show us you table data
Show your PHP code as well
From: Justin Hall [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 12:06 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] multiple entries in database
I have worked my problem down to the mysql database.
I have a table like so:
commID is primaryKey.
when I do an insert to this table without giving the ID a value inside
the insert statement it duplicates the entry or increments another blank
the insert statement is not in a loop or recursive function.
I have found out that if I take out the auto_increment that it adds it
just fine if the ID value is added to the statement..without the ID
value it enters the ID as '0'.
I have another insert statement with another table that is doing the
exact same thing.
I'm kinda new and kinda not..so..any help is appreciated..
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php