array_no_csv.php

<? 
$lestatut=array('in', 'wait feedback', 'closed');
$lestatutN=count($lestatut);
$i=0;
while ($i<$lestatutN) {
#echo "<option>" .mysql_result($result,0,'statut');
$statut=mysql_result($result,0,'statut');
if($lestatut[$i]==$statut){
$checked=" selected";
} else {
$checked="";
}
echo "<option$checked>" .$lestatut[$i];
$i++;
}
?>
 
info/array_no_csv.txt · Dernière modification: 2008/11/11 11:37 (modification externe)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki