hi,
i was woundering if it was possible to take the value returned from using something like [ul]item1,item2,item3,item4[/ul] and put it into an array using explode, so i can output it like this.
instead of using the existing un-numbered list
i know how to get the value from within
<?
$code = "[ul]item1,item2,item3,item4[/ul]";
$pattern = '#\[ul](.+?)\[/ul]#';
$replace = "\\1";
$string = preg_replace($pattern, $replace, $code);
echo $string;
?>
but i dont know how to get this value into a variable so i could use it in an explode.
any ideas?