Re: Problem sending variables with an browser

From: Date: Tue, 30 Apr 2002 20:32:59 +0000
Subject: Re: Problem sending variables with an browser
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-13431@lists.php.net to get a copy of this message
Thanks a lot Dash, the problem is solved. Waldemar ----- Original Message ----- From: "Dash McElroy" <Dash@westonefcu.org> To: "'Waldemar Brand Neto'" <wbn@softall.com.br>; "Php" <php-windows@lists.php.net> Sent: Tuesday, April 30, 2002 5:18 PM Subject: RE: [PHP-WIN] Problem sending variables with an browser > Put quotes in the href="" part like this: > > echo "<a href=\"Produto1.php?nome=$parametro\">". $ix." > </a>"; > > You may want to convert the spaces to %20's (there must be a PHP function to > do this...). > > -Dash > > -----Original Message----- > From: Waldemar Brand Neto [mailto:wbn@softall.com.br] > Sent: Tuesday, April 30, 2002 1:17 PM > To: Php > Subject: [PHP-WIN] Problem sending variables with an browser > > > Hy, I am a newbie in php and I have a problem sending variables. > > This is the part of the code wth problem > $paramentro="TUBOS E CONEXOES TIGRE"; > echo "<td align=center>"; > echo "<a href=Produto1.php?nome=$parametro>". $ix." </a>"; > echo "</td>"; > > When I pass the mouse over the link the browser show to me: > > Produto.php?nome=TUBOS. > Every caracther after the space is ignored. > Could anyone help me. > > Thanks > > Waldemar > > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.windows (#13431) next »