Re: I'm new - one page to another
| From: | Bogdan Stancescu | Date: | Wed, 09 Jan 2002 04:44:39 +0000 |
| Subject: | Re: I'm new - one page to another | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79857@lists.php.net to get a copy of this message | ||
Use <a href="link.php?var=$val"> -- make sure you use rawurlencode() on $val
if you expect it to contain special characters that can't be passed via URL
(such as spaces or ampersands).
Bogdan
universal2001 wrote:
> Hi!
>
> I'm new to PHP and I have tried to find the answer to my questions but I
> still have no luck.
>
> I'm trying to make a page which is based on the data that I retrieved from
> my database. now, I want to make a link (text) to a new page but I want to
> pass my variable also. I don't have any form at all so .. how do I pass
> avariable through a text link which is being clicked.
>
> thanks for reviewing my email
>
> any answer is greatly appriciated.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net