> <?PHP

if ($_GET['x']=='') {$i='whatever "Whatever"'; echo '<a href="get.php?x='.urlencode($i).'">link</a>';

}
else

echo 'x is '.urldecode($_GET['x']);

Incomming GET values are urldecoded automaticaly, no need to do this.



?>


and the url looks like:http://www.XXXXX.nl/get.php?x=whatever+%22Whatever%22









--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to