this may seem like a simple problem but I couldn\'t find it in the archives.
how does one reverse the effects of htmlspecialchars?
I tried something like thi
Use htmlspecialchars_decode()
htmlspecialchars_decode()
this -> "\n"; echo htmlspecialchars_decode($str); // note that here the quotes aren't converted echo htmlspecialchars_decode($str, ENT_NOQUOTES); ?>
Reference - PHP Official Doc