Php code issue
Posted: Mon Dec 14, 2009 8:53 pm
Hi this is the code of php which i am using
original
value="http://www.abc.com/page/123456"
code:
<?php
$url = $_GET['id'];
echo "value="http://www.abc.com/page/$url";
?>
i want to replace the 123456 everytime so i used this. But this is not working. Anything wrong here?
original
value="http://www.abc.com/page/123456"
code:
<?php
$url = $_GET['id'];
echo "value="http://www.abc.com/page/$url";
?>
i want to replace the 123456 everytime so i used this. But this is not working. Anything wrong here?