TA tamucq Junior · 13 posts 15 years ago #1 hey mate want to use a bbcode like @userprofile using this code but it wont work can any0ne help me? if(substr_count ($text,"@")<=5) { $text=preg_replace ("/@(.*?)/ i","<a href= "index.php? a=viewuser&who=$ 1">$2</ a>", $text); } Share ALL PROFESIONAL START FROM A NOOB !