I'm having problems with my coding. I'm still trying to remove tags from my preg_match_all I am still new Learning more
preg_match_all ("/ \ & lt; b & gt; \\ $ (. *?) \ & Lt; \ / b \ & gt;, $ res [0], $ value ); ($ I = 0; $ i & lt; Count ($ value); $ i ++); {$ value = preg_replace ("/ / lt;. *? & Gt;", "", $ Value);} Foreach ($ value [0] $ kgbPrice) {$ PriceArray [] = "& lt; Div class = 'prices' id = 'kgbdealsprice' & gt; ". $ Value." & Lt; / Div> The array is being outputted elsewhere.
I'm getting the content
& Lt; b & gt; Content & lt; / p & gt; thanks
The trouble used by Andrew to use it was a very easy solution.
Comments
Post a Comment