Re: & terminates string?
| From: | Gabino Travassos | Date: | Thu, 06 Jan 2005 20:26:58 +0000 |
| Subject: | Re: & terminates string? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-38036@lists.php.net to get a copy of this message | ||
Hey Matthew
Example: index..php?id=4539&page=dest.php&wig=top
From this url example I can use the following variables:
$id='4539';
$page='dest.php';
$wig='top';
for ampersands, use %26
the same way that spaces are %20 in URLs
So, if I wanted to pass a variable that had an ampersand in it, like Tony & Tina's Wedding
page=Tony%20%26%20Tina%27s%20Wedding
Luck
Gabino