hello,
i have coded a script which generates links, which when clicked sends a value through the URL. however, if the value being sent includes an "Apostrophe", the value received contains a backslash preceding the apostrophe.
as such:
// script1.php3
$tempName = "Php can't be beat";
printf ( "<a href=\"script2.php3?NAME=%s\">%s</a>", $tempName, $tempName );
// script2.php3
echo $NAME // "Php can\'t be beat"
how should this be resolved?
i appreciate your help on this matter
enderl25