Question
in php adding a page that lets you add and delete makes of cars. You will also add edit buttons to the Parts List table,
in php adding a page that lets you add and delete makes of cars. You will also add edit buttons to the Parts List table, which will include an Edit Part form.
In the make_list.php file, write the code that creates the make table with all of the make names in the first column and Delete buttons in the second column (see below). It should work similarly to how the index.php file works.
here is the code :
// Get all makes $query = 'SELECT * FROM makes ORDER BY makeID'; $statement = $db->prepare($query); $statement->execute(); $makes = $statement->fetchAll(); $statement->closeCursor(); ?>
Part Manager
Make List
Name |
---|
Add Make
List Parts
Part Manager Make List Add Make List Par
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started