Posted by macca on 09/06/07 14:49
> <?php
> $fred = 'Click here to visit my site;
> echo "<a href='www.mydomain.com'>$fred</a>";
> ?>
Shouldnt that be :
echo "<a href='www.mydomain.com'>{$fred}</a>";
Seriously, What's the deal with using brackets inside am
interpolation?
Navigation:
[Reply to this message]
|