|
Type |
Societe |
Contact |
Tel |
Savoir
+ |
|
$cnn = mssql_connect("127.0.0.1", "sa", "anastasi20");
if (mssql_select_db("ROUTAGEFOL", $cnn)){
$requeteEmail = "Select Groupe, Nom, Contact, Tel, HTTP From SPONSORS Where Sponsors = '1' Order By Groupe, Nom";
$resultatEmail = mssql_query($requeteEmail, $cnn);
if ($resultatEmail){
do{
while($row=mssql_fetch_row($resultatEmail)){
$lien = "-";
$nom = "$row[1]";
if (isset($row[4])&&($row[4]!="")){
$lien = "Voir";
$nom = "$row[1]";
}
echo "\n";
echo " $row[0] | \n";
echo " $nom | \n";
echo " $row[2] | \n";
echo " $row[3] | \n";
echo " $lien | \n";
echo " \n";
}
}while(mssql_next_result($resultatEmail));
}
}
mssql_close($cnn);
?>
|
| |