PHP String Replace From Array of Values

exestive

New Member
I have several strings that will be replaced with the same string...ie\[code\] $text=str_ireplace('[/VIDEO]','</div>',$text); $text=str_ireplace('[/ARTICLE]','</div>',$text); $text=str_ireplace('[/IMG]','</div>',$text);\[/code\]anyway to use an array in lieu of the initial string value?
 
Back
Top