";
$desc[$i] .= "
Field | Type | Null | Key | Default | Extra |
";
$requete = "DESCRIBE $table[$i]";
$res = mysql_query($requete, $dbh);
$nbr = mysql_num_rows($res);
if($nbr) {
$odd_even=1;
for($j=0;$j<$nbr;$j++) {
$row=mysql_fetch_row($res);
if ($odd_even==0) {
$pair_impair = "odd";
$odd_even=1;
} else if ($odd_even==1) {
$pair_impair = "even";
$odd_even=0;
}
$desc[$i] .= "";
for($h=0;$h < 6;$h++) {
if(empty($row[$h])) $row[$h] = " ";
$desc[$i] .= "$row[$h] | ";
}
$desc[$i] .= "
";
}
}
$desc[$i] .= "";
$i++;
}
// création du script
?>
$valeur
\n";
}
print "$msg[717]
";