Question: Create php page to display photos. Page should dynamically list photos. Write php code that looks for all photo files in this folder. Print each

Create php page to display photos. Page should dynamically list photos. Write php code that looks for all photo files in this folder. Print each filename with li list item with class of photoitem. Make each item display just name of file using basename function. Make each item be a link to that photo. Display the size of each photo file in kilobytes. You can get the size of a file in bytes using the filesize(filename)functionUse round() to round decimal numbers to whole numbersCreate php page to display photos. Page should dynamically list photos. Write

Your photo album should look like this My Photo Album sunshine.jpg (121 KB) my cat.gif (58 KB) santa clara.gif (34 KB) iphone6.jpg (79 KB) mission church.jpg (265 KB) When add or delete any photo, the PHP page would reflect the change

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To create a dynamic PHP page that lists all ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!