View Single Post
Old 09-26-2008, 02:21 AM   #5 (permalink)
RobertK
The Addict
Top Contributor Good Samaritan 
 
Join Date: Jan 2008
Location: USA
Posts: 217
Thanks: 16
RobertK is on a distinguished road
Default

Or you could do what I did:
PHP Code:
echo '<li>'.implode('</li><li>'$items).'</li>'
It's all a stylistic preference. I don't actually know if this is any faster.
__________________
Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning. - Rich Cook
RobertK is offline  
Reply With Quote