probleme d affichage
Posté : 24 mai 2007, 14:22
function LireDistanceParcourue()
avec print je n arrive pas a afficher la valeur.
Code : Tout sélectionner
{
$this->resultat = mysql_query("SELECT 'distance parcourue' FROM 'informations journalieres'");
if($this->resultat)
{
$data = mysql_fetch_assoc($this->resultat );
print($data['distance parcourue']) ;
mysql_free_result($this->resultat);
}
}