hi

I wrote a script to display all file in a directory. Here is my script
---
<?php

$dir_name = "e:\celebs\christina_aguilera";
$dir = opendir($dir_name);

while ($file_name=readdir($dir)) {

 if (($file_name!="." && $file_name!="..")) {
  echo $file_name."\n&nbsp;&nbsp;";
 }
}
closedir($dir);
?>
--------

This is working fine. But it displays all files in 1 single page. Here is
what i wanna do, but i don't know how to do it.
I wanna display 15 files names at once, and have prev. and next buttons and
the end, when i click on next, it will display the next 15 files.

Please help me.
Thanks in advance.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to