doddsey_65 Posted September 20, 2010 Share Posted September 20, 2010 hi, i have the following which parses the quote tag and replaces it with a span $bb[] = "#\[quote\](.*?)\[/quote\]#si"; $html[] = "<span class='quote'>\\1</div>"; what i would like however is for the bbcode to be where xxxx is the name of the person you are quoting. so how would i parse this? I also need the same for font color but if someone can provide a solution to this one then i think i could work it out. Quote Link to comment https://forums.phpfreaks.com/topic/213872-bbcode-parsing/ Share on other sites More sharing options...
trq Posted September 23, 2010 Share Posted September 23, 2010 And where exactly are you planning on getting this xxxx value from? Quote Link to comment https://forums.phpfreaks.com/topic/213872-bbcode-parsing/#findComment-1114460 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.