PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
m2babaey
Forum Contributor
Posts: 364 Joined: Sun May 20, 2007 9:26 am
Post
by m2babaey » Wed Aug 08, 2007 10:17 pm
hi
i'm again with parse errors. How should the code below be to work?
Code: Select all
<?php
$link="http://adsense.com/clicks.php";
?>
<a href=<? php $link ?> > <td bgcolor="#FFFFFF">
<font color="#008000" onmouseover=" " > title </font><br>
<font color="#008000" >description</font><br>
<font color="#008000" > displayurl</font>
</td></a>
iknownothing
Forum Contributor
Posts: 337 Joined: Sun Dec 17, 2006 11:53 pm
Location: Sunshine Coast, Australia
Post
by iknownothing » Wed Aug 08, 2007 10:44 pm
Replace:
Code: Select all
<a href=<? php $link ?> > <td bgcolor="#FFFFFF">
with
Code: Select all
<a href="<?php echo $link; ?>"><td bgcolor="#FFFFFF">