Re: link variable to an html page...
| From: | Alexander Skwar | Date: | Mon, 09 Apr 2001 21:14:33 +0000 |
| Subject: | Re: link variable to an html page... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47885@lists.php.net to get a copy of this message | ||
So sprach Curtis am Mon, Apr 09, 2001 at 05:03:14PM -0400:
> I have a link, with a variable attached to it.
So, just a random string.
> I need to pass this variable to an HTML page,,,
<?php
echo 'page.php?link=' . rawurlencode( $link );
?>
> Also, can I pass more than one variable? use GET?
Possibly with get, if you have a form, yes. Else:
<?php
echo 'page.php?v1=' . $value1 . '&v2=' . $value2;
?>
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-top.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 1 day 9 hours 22 minutes