Quote:
Originally Posted by mojo142 View Post
PHP Code:
code:

<?php
$url 
$_GET['id'];
echo 
"value="http://www.abc.com/page/$url";
?>

But this is not working. Anything wrong here?
The echo statement should be like below:
PHP Code:
echo "value=http://www.abc.com/page/$url"
You have wrongly used the double quotes. There are three double quotes in your echo statement instead of 2.

Last edited by venami; 15Dec2009 at 16:21.. Reason: Missed the explanation