Re: PHP: Mulitiple Arrary Sort
| From: | Micah Gersten | Date: | Wed, 03 Sep 2008 22:33:26 +0000 |
| Subject: | Re: PHP: Mulitiple Arrary Sort | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279459@lists.php.net to get a copy of this message | ||
http://us3.php.net/basename
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Vernon wrote:
> SOLVED!
>
> I made the following change as well to fix the file name:
>
> BEFORE:
> echo date("m-d-Y", $entry['filemtime']) . " {$file}<br
> />\n";
> AFTER:
> echo date("m-d-Y", $entry['filemtime']) . $entry['filename']
> . "
> <br />\n";
>
> One last question.
> The $entry['filename'] is the file name and path:
> /home/website/public_html/resumes/1218044880/filename.htm
>
> How do I get it to display filename.htm only?
>
> Thanks for all your help Jim.
>