My script worked fine on my server, but when I moved it to godaddy the function mb_convert_encoding is not enabled.
I think I'm close with htmlentities, but it is just not working...
old: mb_convert_encoding($post[body],'HTML-ENTITIES', 'iso-8859-1')
new: htmlentities($post[body]);
the new function works but all the code tags are visible
output sample:
----------------------
Even though the barefoot shoes has been out there for some years by now, it’s these last years that it has become a well known training gadget. <br />
<br />
So, what is really a barefoot shoes about? Can it improve posture, eliminate cellulites, and even help control diabetes, like they claim it can?<br />
<br />
------------------------
how do I convert the <br /> tags back to html instead of visible code?
I think I'm close with htmlentities, but it is just not working...
old: mb_convert_encoding($post[body],'HTML-ENTITIES', 'iso-8859-1')
new: htmlentities($post[body]);
the new function works but all the code tags are visible
output sample:
----------------------
Even though the barefoot shoes has been out there for some years by now, it’s these last years that it has become a well known training gadget. <br />
<br />
So, what is really a barefoot shoes about? Can it improve posture, eliminate cellulites, and even help control diabetes, like they claim it can?<br />
<br />
------------------------
how do I convert the <br /> tags back to html instead of visible code?