Very simply, i want to make a variable reads the html code as string ,, i mean dont execute it (run it) .
the problem with the code is : i have a html file , and i want to get the content of it , and make some preg_replace
for it (run a function on the html code), the problem is i cant use preg_replace
, or any another function because the html code is executed by php (php reads the html code)..
i wish you understand me, i want something like highlight_string
, but it save the html code in the variable.
Thank you.