Menu
I have an admin section on my site that allows a user to upload a pdf in the format of Week_mmddyyyy.pdf. What I want to do, is when I display this on the screen, display it like:
Week of July 28, 2008
How would I do this? right now, I am displaying it as “Week of 07282008” using this code:
[code=php]
$displayname = str_replace(“_”,” of “,$file);
$displayname = str_replace(“.pdf”,””,$displayname);
Thanks