anastaciomelero Posted April 4, 2006 Share Posted April 4, 2006 Anyone know or have a script that I can use in which you have two files, one created April 1 and the other April 2, I want April 2 to be included first, then 1 and so on. Below is a script I have for including multiple files, but need it so it does what I want.<?php$handles=opendir("dir/");while ($java = readdir($handles)) { if(!is_dir($java) && !is_link($java)) { @include("dir/". $java); }}?>Thanks,Anastacio. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.