rATRIJS Posted June 22, 2009 Report Posted June 22, 2009 Nē es domāju izmantojot preg_match_all. <?php $tagToReplace = '/\[imgl\](.*)\[\/imgl\]/iU'; $val = "xx \n x \n xxx [imgl]http://www.bildem.lv/pfiles/5964/maxpayne.png[/imgl] yy \n y"; preg_match_all($tagToReplace, $val, $result); print_r($result); ?> Quote
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.