Question: need help with this PHP homework. There are 3 parts Saving product information to a database Adding a cookie to keep track of product id
need help with this PHP homework. There are 3 parts
- Saving product information to a database
- Adding a cookie to keep track of product id
- Authenticating user log-ins with encrypted passwords



I have uploaded my current PHP files for these to one drive, but they have several issues. The form will not submit. Could someone please look at the code and help me?
https://1drv.ms/u/s!AjGBNYJUL82CaadtHmBtDsvJxWo?e=eMeXSl
1. Include error message for the following: All form fields (Product Name, Product Finish, Product Usage and Product Cost) Database or Table creation errors 2. What code do you need to add in to ensure the general public don't see any of the error messages generated by the system (add this to each file but comment it out while testing so you can see any errors). e OX Product Page C localhost/4PHP/DoorLeverInventory Assignment/DoorLeverAssign_Part_1/php/Products.php Door Lever Inventory - Part 1 Product Name: Product Finish: Product Usage: Product Cost: Submit Reset Products Product Entry Form Enter the Door Lever product details into the form and when you are ready, click the submit button. NOTE: * denotes required entry *Product Name must not be blank Product finish must not be blank Product usage must not be blank I * Product cost must not be blank 3. Test and debug your code by adding two records using the product form. Make sure you display a message to the user if all product details were correctly added to the database or not. Take a screen shot of your table in the shell with the new records added and add to yourname_test_results.docx
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
