Page 1 of 1

how to get $link working?

Posted: Wed Aug 08, 2007 10:17 pm
by m2babaey
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>

Posted: Wed Aug 08, 2007 10:44 pm
by iknownothing
Replace:

Code: Select all

<a href=<? php $link ?> > <td bgcolor="#FFFFFF">
with

Code: Select all

<a href="<?php echo $link; ?>"><td bgcolor="#FFFFFF">