Hello I have this value in mysql database
ACER Press Conference First Look: 4.8″, 7″ & 10.1″ Tablets
when display it on the web using php, it look like this
ACER Press Conference First Look: 4.8″, 7″ & 10.1″ Tablets
instead of this
ACER Press Conference First Look: 4.8″, 7″ & 10.1″ Tablets
I used these two functions to insert it to database
$title = mb_convert_encoding($_POST['title'],'HTML-ENTITIES', 'UTF-8');
$title=mysql_real_escape_string($title);
then display it as xml feed using joomla module “mod_syndicate” and send it to twitter connect
using com_autotweet
any help please?
thanks
If you’re using
htmlentitiesto sanitize the output but don’t want to double encode already existing character references, set the fourth parameter double_encode ofhtmlentitiesto false: