php - Insert multiple values in INT field -


i got multiple check box drop down allows user select number of students wants add class. how add multiple student_id in student_class table? field have int instead of varchar because need auto increment. shows error when tried insert multiple value in it. below output need achieve.

thankyou

enter image description here

yes simple if student_id not auto_increment. try add multiple row's of student class student_id's same class_id's.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

c++ - How to test/verify that zero-initialization takes place -

node.js - Webpack/TypeScript Raising Errors When node_modules is Excluded -