Thursday, 15 August 2013

How to Return a Stored Value in Inner text using php

How to Return a Stored Value in Inner text using php

PHP Code:

$name = 'click here';
echo '<a href="http://example.net/some.php" class="menu">$name</a>';
Here I am Expecting 'Click here' but my Output is:
$name

No comments:

Post a Comment