PDA

View Full Version : itemID is not entered into the MySQL database


pistartech366237
04-10-2009, 07:17 PM
Guys,

Sorry to bother you again, however, I have one more issue:

On the Insert.php page I don't have a field for ItemID.... Is there any way to
automate the assignment of each entry, so it will automatically enter the sequential numbers into the field of ItemID when the user enters new product? Because without that field the Detail.php is not showing anything.

Please advise.

Thank you very much in advance.

Best regards,

Paul.

Ray Borduin
04-13-2009, 07:40 AM
You can update that field in your database to be an auto-incrementing key. It will then automatically enter sequential numbers if you don't set the value of that field.

pistartech366237
04-16-2009, 03:16 PM
Dear Ray,

Thank you so much for your help..... It worked!!!