How to list 2-6 in while script?

From: Date: Tue, 11 Sep 2001 16:48:59 +0000
Subject: How to list 2-6 in while script?
Groups: php.general 
Request: Send a blank email to php-general+get-66947@lists.php.net to get a copy of this message
Hi! I have this script and wonder how to change it to get it list only number 2 to number 6 and not each? while (list ($key,$val) = each ($headers)) { print "<p><b>"."$val"."</b></p>"; } Thanks in advance. Regards Jan

« previous php.general (#66947) next »