Hi All,
I am having a problem with loading data correctly in my Datagrid.
User input data is stored in MySQL through PHP with these functions:
function stringToMysqlFormat($original_input) {
//for inserting the data with special characters INTO mysql
$html_encoded =
htmlentities(mysql_real_escape_string($original_input));
return $html_encoded;
}
function mysqlToHTMLFormat($encoded) {
//for displaying the data FROM mysql
$html_decoded = html_entity_decode(stripslashes($encoded));
return $html_decoded;
}
It works OK in all the textfields, but not in my Datagrid.
Then it shows like the HTML formatted way: Ã etc.
How to solve this?
Best regards,
Cor van Dooren
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders