Re: now is working, but itsn't...
| From: | ::: Flavio Bastos Amiel::::::> | Date: | Fri, 09 Aug 2002 06:51:06 +0000 |
| Subject: | Re: now is working, but itsn't... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111775@lists.php.net to get a copy of this message | ||
im off, this is to easy, and i am sleepy! thanks for the help in time of
zombies.........
THE REAL CODE! (IM SO FUCKING DUMB!)
<?
require("conexion.php");
$accion=mysql_query("SELECT * FROM empresas order by id desc");
IF (!$accion) {
echo "<div alig=\"center\">no se puede ver la solicitud</div>";
}
?>
<form name="form1" method="post" action="">
<select name="seleccione">
<?
IF ($accion) {
WHILE ($r = mysql_fetch_array($accion)) { ?>
<option value="<? echo $empresas; ?>"><? echo $empresas;
?></option> <? } }
?>
</select>
</form>