I would like some help in converting a string to an array and performing foreach on the array data.
Currently in my view I echo my string <?php echo $p['tags']; ?>
and this gives me the following data news, latest
I would like to do a foreach on this data so that I can wrap the values in <a href=""></a>
How is this done? What is the best method?