1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

PHP Tag a person

Discussion in 'Coding, Programming' started by kekz08, Aug 10, 2016.

  1. kekz08

    kekz08 Addict Established

    guys pa help nman project lang ano tamang code ng pag tag ng user??

    ito gamit kong BBCODE pero ayaw

    $text = preg_replace("/\@(.*?)/is","<a href=\"user-$1\">$2</a>",$text);

    ang gusto ko sanang output gaya dito sa site ex. kekz08kekz08
  2. Harnese004

    Harnese004 Addict Established

    Pabuhay. Paano po magtag ng user dito?
Tags / Keywords: