1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| $row_i_totaux_2 = 0;
$i = 0;
while ($donnees_2 = mysql_fetch_array($result_row_bu))
{
if($donnees_2['codart'] != '')
{
$result_row_i_2 = sql_table('SELECT * FROM nb_associes WHERE codart="'.$donnees_2['codart'].'"');
$row_i_2 = mysql_num_rows($result_row_i_2);
if($row_i_2 == 0)
{
$row_i_totaux_2++;
$tab[$row_i_totaux_2] = array($row_i_totaux_2, $donnees_2['codart'], $donnees_2[4]);
}
}
}
#$_SESSION['session_stats1'] = $row_i_totaux_2;
nb_header();
for ($nombre_de_lignes = 1; $nombre_de_lignes <= $row_i_totaux_2; $nombre_de_lignes++)
{
$i++;
for ($numero = 0; $numero < 3; $numero++)
{
echo $tab[$i][$numero]; // affichera $prenoms[0], $prenoms[1] etc...
echo "<br />"; // pour aller à la ligne
}
} |
Partager