Displaying 1 result from an estimated 1 matches for "number_pl".
Did you mean:
number_id
2006 Mar 22
3
Parent-Child Tables Help
...be able to Create a form to Add Cars
The form would have all the info pertaing to cars, along with dropdown
lists for the makes, models, colors...
i get this error when i do it
Mysql::Error: #23000Cannot add or update a child row: a foreign key
constraint fails: INSERT INTO cars (`created_on`, `number_plate`,
`price`, `title`, `updated_on`, `color_id`, `make_id`, `cc_rating`,
`description`, `negotiable`, `views`, `year`, `transmission`, `user_id`,
`car_type`, `mileage`, `model_id`) VALUES('''', ''PBO-5678'', 36000.0, ''2001
Corolla'', ''20...