Hello everyone and thank you for taking the time to read this.
I am fairly new to php and I have a problem I haven't been able to solve. For my web site, I have to send two variables to browse.php. When I build the 'a' tag, I do it like this :
In browse.php, I get the values using :
Now, in most cases, this works just fine. But when $path contains an ampersand (&), it doesn't work anymore because it thinks it's a separator. Is there anyway for me to make this work ?
Thanks again.
I am fairly new to php and I have a problem I haven't been able to solve. For my web site, I have to send two variables to browse.php. When I build the 'a' tag, I do it like this :
$out = '<a href="browse.ph p?path=' . $path . '&image=' . $image . '">';
In browse.php, I get the values using :
$path = $_GET["path"];
and $image = $_GET["image"];
Now, in most cases, this works just fine. But when $path contains an ampersand (&), it doesn't work anymore because it thinks it's a separator. Is there anyway for me to make this work ?
Thanks again.
Comment