
Forum » » Le coin des codeurs » » besoin de récupérer les variables
Posté : 17-11-2011 15:04 
$query = "SELECT `annu_champ11` , COUNT( `annu_champ11` )
FROM ".$NPDS_Prefix."$ModPath
GROUP BY `annu_champ11`
ORDER BY 'COUNT(`annu_champ11`)' ASC LIMIT 10 " ;
$result = mysql_query($query);
$num_results = mysql_num_rows($result);
for ($i=0; $i <10; $i++)
{
$row = mysql_fetch_array($resul t);
echo"<tr><td>"; echo $row['COUNT( `annu_champ11`&n bsp;)'];echo"</td><td>";echo $row['annu_champ11'];echo"</td ></tr>";
}
$DataSet->AddPoint($array['COUNT( `annu_champ11` )'],"Seri e1");
Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=25260&forum=5