j'ai une fonction qui me renvois un tableau et ce tableau je vx voir ce qu'il y a dedans si il n'est pas vide mais j'ai quand je le passe en revu a l'aide pour voir le contenu j'ai un Undefined offset:0
voila mon code:
<?php
include_once 'function.inc.php';
$rep = "DVD/";
ScanRep($rep);
$tab_nfound[] = (ScanComp($rep));
?>
<?php
foreach ($tab_nfound as $key => $value) {
if ($value[$key] != NULL) {
echo "<img src=\"img/banniere_avi.png\" width=\"460\" height=\"62\" class=\"img-arr\"/>";
echo "<div id=\"main\"><table>";
echo "<tr>";
echo "<td>" . $value[$key] . "</td>";
echo "<tr>";
echo "</table></div>";
} else {
echo "<div id=\"main\"><table>";
echo "<tr>";
echo "<td>Aucun fichier manquant</td>";
echo "<tr>";
echo "</table></div>";
}
}
?>
merci d'avance les gars ^^

Effectivement je devais l'enlever, mon prof me l'a signaler après.
Merci encore.
Bonne journée