Hey there!
Hm it is strange
function mysql_escape_string($value)
{
$database =& JFactory::getDBO();
// $database->getEscaped($value);
/* getEscaped does not work always for some configurations... strange -> Character problem. empty comment */
$result = mysql_real_escape_string( $value, $database->_resource );
return $result;
}
this comment
/* getEscaped does not work always for some configurations... strange -> Character problem. empty comment */
is not written for me and I don't believe that this is true. I've looked the mysql and mysqli files and they have implemented both the function as it should be implemented.
So please make the following test for me. Change the above function to this:
function mysql_escape_string($value)
{
$database =& JFactory::getDBO();
$result = $database->getEscaped($value);
/* getEscaped does not work always for some configurations... strange -> Character problem. empty comment */
//$result = mysql_real_escape_string( $value, $database->_resource );
return $result;
}
and let me know if this is working for you.