Ticket |
ID |
date |
details |
lieu |
salle |
pos |
materiel |
marque |
model |
nserie |
demandeur |
traitement |
valider |
query("SELECT * FROM pannes ORDER BY ID");
$non_traite = 0;
while ($line = $reponse->fetchArray()) {
if (isset($line['traitement'])) {
$non_traite ++;
$class = $line[0];
include 'include/line.php';
}
else {
break;
}
}
if ($non_traite == 0) {
echo "Aucun ticket dans la base
";
}
?>