Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
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