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: Don't 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: 18/2/2021 14:45 - Old: Test, Me, images/old.jpg | New: Name, Surname, images/photo.jpg viewClient.php file solution* 10 points Your answer edit.php file solution* 20 points Your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
