Answered step by step
Verified Expert Solution
Link Copied!

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


  1. Saving product information to a database
  2. Adding a cookie to keep track of product id
  3. Authenticating user log-ins with encrypted passwords
imageimageimage

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles Of Information Security

Authors: Michael E. Whitman, Herbert J. Mattord

7th Edition

035750643X, 978-0357506431

More Books

Students also viewed these Databases questions

Question

For any events A and B in a sample space, we have (A B) = AB.

Answered: 1 week ago

Question

Solve each equation. x 3 - 6x 2 = -8x

Answered: 1 week ago

Question

Explain the steps in the violence and chilling effect cycles.

Answered: 1 week ago

Question

List the six steps in constructive confrontation.

Answered: 1 week ago