Right i'm messing with a lot of PHP code latley getting used to stuff i don't know and i can't seem to get this BBCode to work :L
$built = "";
if (preg_match ("'\[quote\=(.*?)\](.*?)\[/quote\]'is", $string))
$built .= "1: <span>\\1</span> 2: <span>\\2</span> ";
return preg_replace( "'\[quote\=(.*?)\](.*?)\[/quote\]'is", $built, $string );
$content = "[quote=Kyle][quote=Fred]Mwhaha[/quote]Blah blah blah[/quote]";
Want it to quote as many quotes that are in each other.
I tried while() but that didn't work either...