note 20845 added to function.mysql-fetch-array
| From: | tomawahk at free dot fr | Date: | Thu, 18 Apr 2002 09:14:31 +0000 |
| Subject: | note 20845 added to function.mysql-fetch-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29518@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...
--
http://www.php.net/manual/en/function.mysql-fetch-array.php
http://master.php.net/manage/user-notes.php?action=edit+20845
http://master.php.net/manage/user-notes.php?action=delete+20845
http://master.php.net/manage/user-notes.php?action=reject+20845