newbie help!

From: Date: Fri, 29 Jun 2001 21:36:51 +0000
Subject: newbie help!
Groups: php.general 
Request: Send a blank email to php-general+get-55610@lists.php.net to get a copy of this message
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.

« previous php.general (#55610) next »