Slt je bossais en php et j'ai une petite fonction qui pourrai t'aider si tu fais du
php biensur
Function ReturnFields ($table)
{
// Cette fonction retourne un tableau de chaine caractere contenant la liste des champs d'une table.
$query = "select * from $table";
$rs=mssql_query ($query);
for($i=0; $i < mssql_num_fields($rs); $i++)
{
$struct[$i]=mssql_field_name($rs, $i). "\n";
}
return $struct;
}
ça te retourne un tableau avec tout les champs
A bientot
Sylvain

pépé