View Single Post
Old 05-17-2010, 09:49 PM   #2 (permalink)
adamdecaf
The Addict
 
Join Date: May 2009
Posts: 287
Thanks: 5
adamdecaf is on a distinguished road
Default

If the array is numeric:

PHP Code:
$list = array(=> 'adam'=> 'dave');
$length count($list);

for (
$n 1$n $lengthn++) {
   echo 
$list[$n];

__________________
My Site
adamdecaf is offline  
Reply With Quote