Quote:
Originally Posted by mojo142
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.