this is not functional and i dont know why, this is stoping where if
(!$accion) is, and the wuery if you run in into the sql is
perfectREQUIRE('conexion.php');

$accion=mysql_query("SELECT * FROM empresas");

IF (!$accion); {

echo  "<div alig=\"center\">no se puede ver la solicitud</div>";

}

?>


<form name="form1" method="post" action="">
  <select name="select"></select>
  <?
IF ($accion) {
WHILE ($r = mysql_fetch_array($accion)){
extract($r);
$empresas = nl2br($empresas);

echo "<select name=\"$empresas\">$empresas</select>";  } } ?>
</form>




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

Reply via email to