Question: MySQL / PHP QUESTION Why can I not add a car value with my php/MySQL code? My webpage.php code is below along with the update

MySQL / PHP QUESTION

Why can I not add a car value with my php/MySQL code?

My webpage.php code is below along with the update file

Cars.php

Games

ID model Reg year cost

update car

ID: model: reg: year: cost:

update_cars.php

mysqli_query($conn,"INSERT into Cars VALUES ('$car_ID','$car_model','$car_reg','$car_year','car_cost'')$ header('Location: Cars.php'); ?>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!