Re: Variables desaparecidas

From: Date: Mon, 04 Mar 2002 07:55:03 +0000
Subject: Re: Variables desaparecidas
References: 1 2  Groups: php.general.es 
Request: Send a blank email to general-es+get-19915@lists.php.net to get a copy of this message
no fijate q ya esta puesto un echo q es identico a poner =; en cuanto al problema de q no recoge ningun valor..... no estoy seguro q alguien me corrija pero no es necesario definir como global las variables q deseas coger desde el formulario??, por ejemplo: global $izena,$izenburua,$laburpen,$mamia,$berriBidali; Saludos ----- Original Message ----- From: "Manuales" <manuales@stnet.es> To: <lista@phpes.com>; "Axier Lopez" <axiertxo@canal21.com> Sent: Monday, March 04, 2002 8:52 AM Subject: Re: [PHP-ES] Variables desaparecidas En el action, no te faltaria un "=" (....action"<? echo $PHP_SELF;?>" ....). ----- Original Message ----- From: "Axier" <axiertxo@canal21.com> To: <lista@phpes.com> Sent: Monday, March 04, 2002 1:40 AM Subject: [PHP-ES] Variables desaparecidas > Aupa! > > Que le puede ocurrir a este formulario para que no recoga ninguna de > las varibles al enviarse ?? Se reenvia a la misma pagina y no recoge > ninguna de las variables, como si no existieran. > > <<- add.php --> > <form name="fmBerria" action"<? echo $PHP_SELF;?>" > method="post"> > <span class="barriMamia"> > <b><? echo $izenfH; ?></b><br> > <input type="text" name="izena" size="50" > maxlength="80"> > <br><br> > <? echo $izenbufH; ?> > <br> > <input type="text" name="izenburua" size="100" > maxlength="150"> > <br><br> > <b><? echo $laburfH; ?></b> > <br> > <textarea cols="70" rows="5" > name="laburpen"></textarea> > <br><br> > <? echo $testuafH; ?> > <br> > <textarea cols="70" rows="12" > name="mamia"></textarea> > <br> > <br> > &lt;p&gt; &lt;b&gt; &lt;i&gt; &lt;a&gt; > &lt;em&gt; &lt;br&gt; &lt;strong&gt; > &lt;blockquote&gt; &lt;tt&gt; &lt;center&gt; > &lt;li&gt; &lt;ol&gt; &lt;ul&gt; > </span> > <br><br> > <input type="hidden" name="berriBidali" value="ax"> > <input type="submit" value="bidali"> > </form> > > > Axier mailto:axiertxo@canal21.com > > > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > via news: news://news.phpes.com/ > Manual PHP en español: http://www.php.net/manual/es/ > Para dar de baja la suscripción, mande un mensaje a: > lista-unsubscribe@phpes.com > > --------------------------------------------------------------------- Archivo On-line: http://www.phpes.com/ via news: news://news.phpes.com/ Manual PHP en español: http://www.php.net/manual/es/ Para dar de baja la suscripción, mande un mensaje a: lista-unsubscribe@phpes.com

« previous php.general.es (#19915) next »