php-general | 2001062
Date: 06/29/01
- Next message: Yan Lam: "[PHP] IMAP Question."
- Previous message: J Smith: "Re: [PHP] Re: Regular Expression help"
- Next in thread: Hugh Bothwell: "Re: [PHP] newbie help!"
- Reply: Hugh Bothwell: "Re: [PHP] newbie help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 "; } } 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: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Yan Lam: "[PHP] IMAP Question."
- Previous message: J Smith: "Re: [PHP] Re: Regular Expression help"
- Next in thread: Hugh Bothwell: "Re: [PHP] newbie help!"
- Reply: Hugh Bothwell: "Re: [PHP] newbie help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

