Re: [PHP] read last three letters

2002-05-28 Thread Justin French
or, try this: '; } elseif(file_exists('{$c}.jpg')) { echo ''; } else { echo ''; } ?> Justin French Creative Director http://Indent.com.au on 29/05/02 7:56 PM, r ([EMAIL PROTECTED]) wrote: > Hi PHP ppl, > > I have a direct

[PHP] read last three letters

2002-05-28 Thread r
Hi PHP ppl, I have a directory named cartoons, it has around 180 files in them ONLY images, the filenames are 1.jpg, 2.jpg..5.gif, 6.gif etc etc if you got confused with the above line its basically all the files are numbered from 1-180 and the file types are mixed JPG and GIF. I have a prog