An Introduction to PHP by Mark Simon

An Introduction to PHP by Mark Simon

Author:Mark Simon
Language: eng
Format: epub
ISBN: 9798868801778
Publisher: Apress


The Image Pages

We’re going to do the maintenance work in two stages:1.

Select one of the images to edit.

2.

Make changes to the image data.

That’s the general idea. To do this, we’ll need two pages.

The first page will be a list of existing images, such as in Figure 9-1.

Figure 9-1The List of Images

Some of the elements will be familiar, such as the navigation block at the bottom. In fact, this is essentially a modified version of the gallery page, and the code for this page will be similar.

Those buttons on the right side of the table will be used to select one of the images for editing or deleting. In fact, those buttons will all take us to the second page.

There’s also a button Add New Image to add a new image. It will also take us to the second page.

The second page is basically a form and looks something like Figure 9-2.

Figure 9-2Editing an Image



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.