Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Stop List After xx Number of Entries


dreamcatcher - 7:06 am on Aug 19, 2010 (gmt 0)


Maybe a for loop instead?

$count = count($path);

for ($i=0; $i<($count>10 ? 10 : $count); $i++) {
echo $path[$i];
}

dc


Thread source:: http://www.webmasterworld.com/php/4188950.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com