Hello, i have this message error and i don't know where does the problem comes from:
<?php include "DBconnection.class.php";
$sql = DBConnection::getInstance();
$requete = "my resquest (which is working)";
$sql->query($requete);
$xml = '<?xml version="1.0" encoding="UTF-8"?>';
$xml .='<GamerCertified>';
while($row = $sql->fetchArray()){
$moyenne_services = ($row['services'] + $row['serviceCli'] + $row['interface'] )/3;
$moyenne_services = round( $moyenne_services,1);
$moyenne_ge = ($row['services'] + $row['serviceCli'] + $row['interface'] + $row['qualite'] + $row['rapport'] ) /5;
$moyenne_ge = round( $moyenne_ge,1);
$xml .= '<GSP>';
$xml .= '<nom>'.$row["nom"].'</nom>';
$xml .= '<votes>'.$row["nb_votes"].'</votes>';
$xml .= '<services>'.$moyenne_services.'</services>';
$xml .= '<qualite>'.$row["qualite"].'</qualite>';
$xml .= '<prix>'.$row["rapport"].'</prix>';
$xml .= '<transparence>'.$row["transparence"].'</transparence>';
$xml .= '<moyenneGenerale>'.$moyenne_ge.'</moyenneGenerale>';
$xml .= '<serveursDedies>'.$row["offreDedie"].'</serveursDedies>';
$xml .= '</GSP>';
}
$xml .= '</GamerCertified>';
echo $xml;
Thanks
(PS: FF /chrome echoes that without tag : bc2x56.99.89.8081ckras1710.09.0080crazy-fun-game11010.010.00100crystal-serv349.79.69.509.60dedicore69.49.38.609.21)