Re: anyone can help?

From: Date: Fri, 09 Aug 2002 06:38:08 +0000
Subject: Re: anyone can help?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-111773@lists.php.net to get a copy of this message
i didnt notice that, but is the same thing, is not working :( thanks for the fasta answer "Martin Towell" <martin.towell@world.net> wrote in message news:6416776FCC55D511BC4E0090274EFEF5034CFC9A@EXCHANGE... > you've got a ";" after the if > > IF (!$accion); { > > should be > > IF (!$accion) { > > > -----Original Message----- > From: ::: Flavio Bastos Amiel::::::> [mailto:flavinho@cantv.net] > Sent: Friday, August 09, 2002 4:34 PM > To: php-general@lists.php.net > Subject: [PHP] anyone can help? > > > 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

« previous php.general (#111773) next »