str replace - How to highlight multiple keywords in a mouthful in PHP? -


Suppose there are 3 keywords,

I do not want to place this type of place 3 times: / P>

  a => & Lt; P & gt; & Lt; / P & gt;  

Is it possible to do one run?

'

You can use PHP (or mb_strtr) function in PHP

  "screamed"); Echo statter ("Hi all, I say hello", $ trans); // print out "hi all, i shout hi"  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -