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>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to