Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Database Design And SQL For DB2

Authors: James Cooper

1st Edition

1583473572, 978-1583473573

More Books

Students also viewed these Databases questions

Question

Discuss how to select candidates.

Answered: 1 week ago

Question

What does stickiest refer to in regard to social media

Answered: 1 week ago