RE: [PHP-WIN] Problem sending variables with an browser
| From: | Scott Hurring | Date: | Tue, 30 Apr 2002 20:26:52 +0000 |
| Subject: | RE: [PHP-WIN] Problem sending variables with an browser | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13429@lists.php.net to get a copy of this message | ||
use: urlencode($param)
---
Scott Hurring
Systems Programmer
EAC Corporation
ScottH@eac.com
Voice: 201-462-2149
Fax: 201-288-1515
> -----Original Message-----
> From: Dash McElroy [mailto:Dash@westonefcu.org]
> Sent: Tuesday, April 30, 2002 4:19 PM
> To: 'Waldemar Brand Neto'; Php
> 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
>