Jump to content

UBB Parsing


tibberous

Recommended Posts

I got it, you do a foreach($matches[0] as $match), then you str_replace, but you send in count as 1, to match sure it one for one replaces.

 

Edit: this doesn't work. Count returns the number of matches =/ I thought it worked like the limit param in the explode function.

Link to comment
https://forums.phpfreaks.com/topic/224658-ubb-parsing/#findComment-1160485
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.