best place to learn eregi or preg
Posted: Thu Dec 05, 2002 1:46 pm
i really don't get it... i want to make my own BBC code but i'm stack with eregi and preg. I have i clew how it works but i can't do it...
I've try like this
[syntax=php]$text = preg_replace("[b](.+?)[/b]", "<b>\1 </b>", $text);[/syntax]
but it's not working
plz help
I've try like this
[syntax=php]$text = preg_replace("[b](.+?)[/b]", "<b>\1 </b>", $text);[/syntax]
but it's not working
plz help