note 20845 deleted from function.mysql-fetch-array by betz
| From: | betz@php.net | Date: | Sat, 10 Aug 2002 16:42:58 +0000 |
| Subject: | note 20845 deleted from function.mysql-fetch-array by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34745@lists.php.net to get a copy of this message | ||
Here is what you can do:
$resultado1 = mysql_query(("select id_proy,nombre_proy from proyecto
where proyecto.login='$Usuario'");
echo "<select name='Proyecto'>";
while($row=mysql_fetch_array($resultado1))
{
$option=$row["desc_$this->language"];
echo "\t<option>$option</option>\n";
}
echo "</select>\n";
Should work fine for you...