Today, I work with Zend 6.3 community edition. This version include PHP Version 5.5.7. I use php and mySQL to load data inside Adobe Air application by httpService with e4x result. As I work with french language I had to manage characters with french accent. Today, I use this function
function htmlPHP54($string) {
return htmlspecialchars($string, ENT_QUOTES,'ISO-8859-1');
}
Therefore each time I need to generate my xml file, I do something like that:
$return = "<rootsPHP>";
$return.="<name>".htmlPHP54($row_recordset['name'])."</name >";
$return. = "</rootsPHP>";
This method works well with Zend 6.3 and PHP 5.5.7
But today with Xammp (php 5.6.1), an error appears:
Error #1088: The markup in the document following the root element must be ... in the document follwing the root element must be well-formed”.
In fact when I try to open result file inside browser, the same error appear.
So I need help to solve that. What parameter must be changed inside php.ini or my.cnf?