Using tinymce for content, it works fine on local server but break formatting on remote server.
saving content:
mysql_real_escape_string( htmlentities($slide_name,ENT_QUOTES,'UTF-8'))
when retrieve:
html_entity_decode($slide_name, ENT_QUOTES,'UTF-8')
on local server it display content correctly:
<p><strong style="text-decoration: underline;">Contact:</strong> 0000-<span style="color: #ff0000;">245</span></p>
on remote (after 1st update):
<p><span style="\"><strong style="\">Contact:</strong></span> 0000-<span style="\">245</span></p>
use utf8_general_ci
collation for both databases (remote/local)