davidjmorin Posted October 10, 2007 Share Posted October 10, 2007 hey eveyone i have one last thing that i need an answer to. i would like to align my following code so that it sets it to the left side of the ;page. ive tried a few things but didnt work. also i would like to have it so that it only searches for picture and movie files. how would this be accomplished? thank you so much for any help <?php $dir = 'ajaxfiles'; $handle = opendir($dir); while ($file = readdir($handle)) { if (substr($file, 0, 1) !== '.'){ echo "<li><a href=\"" . $file . "\">" . $file . "</a></li>\n"; } } closedir($handle); ?> Link to comment https://forums.phpfreaks.com/topic/72617-solved-align-text-and-searching-files/ Share on other sites More sharing options...
davidjmorin Posted October 10, 2007 Author Share Posted October 10, 2007 here is the link ethans-space.com/test/test.html the php is in an iframe Link to comment https://forums.phpfreaks.com/topic/72617-solved-align-text-and-searching-files/#findComment-366126 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.