no save
Assistance
Achat
News

Forum | webmastering
[PHP] fonction Mysql permettant de...
antic80, le mer. 15 juin 2005 à 15:10:07
donc tu n'a pas besoin de créer une variable a chaque fois

je v te donner un morceau de code qui fais ca tu pourra voir plus facilement

$test = mssql_query("SELECT libelle FROM projet WHERE type = 'Essais matière'");

$liste2="<select name='Article' style='font: 10pt Times New Roman;'>";
while ( $row = mysql_fetch_array( $test)){
$Libelle = $row["libelle"];

$liste2 .= "<option>$libelle</option>";
$liste2 .="</select>";

print $liste2;
PrécédentImer
juin 05
nauno
juin 05
Suivant
REPONSES
antic80
juin 05
Imer
juin 05
antic80
juin 05
Imer
juin 05
antic80
juin 05
Imer
juin 05
antic80
juin 05
Imer
juin 05
antic80
juin 05
nauno
juin 05
Version Web
Réalisé par RedShift
no save