简体   繁体   中英

Laravel - SQLSTATE[23000]: Integrity constraint violation

i know this question has already asked before ,but i can't fix it I'm new at php and I used Laravel 5 and Bitnami Wamp Stack as my server

this is my error page when i try to insert new data to my Database

http://imgur.com/a/706Ko

Thank you

You have a type in the form. Change this:

pruduct_id

to this:

product_id

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM