View Single Post
Old 12-25-2012, 07:30 PM   PM User | #6
Local Hero
New Coder

 
Join Date: May 2005
Location: Utah
Posts: 58
Thanks: 6
Thanked 0 Times in 0 Posts
Local Hero is an unknown quantity at this point
I tried
PHP Code:
$clean substr_replace($key ,"",-4);
     echo( 
$key " - " date("F d Y ."$value). " <img src=./content/uploaded/" $clean "</a>"); 
but it just took 4 characters off of the filename and still adds %3C/a to the end making the image sourch wrong.

Last edited by Local Hero; 12-26-2012 at 04:21 AM..
Local Hero is offline   Reply With Quote