PHP SOLUTIONS: DYNAMIC WEB (Web hosting companies) DESIGN MADE EASY 3.

PHP SOLUTIONS: DYNAMIC WEB DESIGN MADE EASY 3. Create a form inside imagelist.php, and insert a

This

Make sure that the pathnames to the include file and the images folder are correct for your site s folder structure. If you re using PHP 4, the two lines in the PHP code block need to refer to the PHP 4 version of the function like this: include(’../includes/buildFileList4.php’); buildImageList4(’../images’); For brevity, I m not using the techniques in Chapter 4 for checking that the include file exists. 5. Save imagelist.php and load it into a browser. You should see a drop-down menu listing all the images in your images folder, as shown in Figure 7-1. When incorporated into an online form, the filename of the selected image appears in the $_POST array identified by the name attribute of the