View Single Post
Old 09-25-2008, 05:21 PM   #1 (permalink)
marxx
The Contributor
 
marxx's Avatar
 
Join Date: Sep 2007
Location: Finland
Posts: 45
Thanks: 3
marxx is on a distinguished road
Default Explode an array + add start and end tags?

Hi!

Here's my problem.

How do I explode (or another technique?) an array so I can add every item start and end tags?

Code:
$items = array('item1', 'item2', 'item3', 'item4');
Each those item should print like this:
Code:
<li>item1</li>
<li>item2</li>
<li>item3</li>
<li>item4</li>
This might be little noobie question, thanks for all help!
Send a message via MSN to marxx
marxx is offline  
Reply With Quote