note 119409 rejected from function.file-exists by tularis
| From: | tularis@php.net | Date: | Tue, 31 May 2016 08:38:14 +0000 |
| Subject: | note 119409 rejected from function.file-exists by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-205625@lists.php.net to get a copy of this message | ||
Note Submitter: mpgarin at hotmail dot com
----
new to php, however the example provided does not work and I am confused on why? My example is I
loaded images with the name defaulted to the model number of a part. The <img attempts to use
the constructed path to find an image for every record, although some do not have images (*.png).
The display code works and displays every file found, and shows an error when the graphic
doesn't exist.
I was attempting to suppress when the images were not available, however the code provided, which
seems simple enough when using the same file name/path to generate the image display tells me that
none of the files are found.