I'm receiving the following error code when trying to "Add a New Student" to MySQL database scheduler program:
Invalid query:
INSERT INTO student(student_id, name, password, number_paid_lessons, paid_from_date, paid_until_date) VALUES('DEFAULT', 'Test Student', 'Test Password', 12, '2014-1-01', '2014-3-31')
Incorrect integer value: 'DEFAULT' for column 'student_id' at row 1
The tech staff at my hosting company explained: "Means that the incorrect mysql value is DEFAULT into row student_id."
Coding is in php...How to fix? Do I just need to change the insert.php page code...or...the student.php page code? If so, to what?