Question
Write php scripts to update the values in a database. The database Company has a table named Client with these fields (Id, Name, Surname, Photo).
Write php scripts to update the values in a database. The database Company has a table named Client with these fields (Id, Name, Surname, Photo). (10 points) Suppose that after you are logged in, a page with the Client data are shown on a table. You have to create a file viewClient.php which shows all clients data from the database. On the last column of the table there is a link for editing. Note: The information to connect to database is: Server: localhost, DB: Company, Username: cen323, Pass: binf (15 points) When clicking on the Edit a new page should be opened named edit.php, where the data of the client (Name, Surname, Photo) should be editable and after submission the data should be updated in the database. Note: Dont forget to upload the new photo on the server. (5 points) After the updating process, generate a file named logs.txt where you will store the date when the update was done, old Info and the updated info, as shown below:
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