Zitat Zitat von rawmance Beitrag anzeigen
hi

also wenn ich dich richtig verstanden habe müsste es so aussehen


PHP-Code:
<? if ($aktiv[ende]>= time() and $aktiv[start]<= time()){echo"<font color=red>";} else{echo"<font color=red>";}?>
&nbsp;<a href="?content=/ralleys/aktiv">Aktiv Rally</a></font><br>
nur so funzt das leider nicht

rawmance
da musst du <font> innerhalb von <a> schreiben also so:
PHP-Code:
<a href="?content=/ralleys/aktiv">
<? if ($aktiv[ende]>= time() and $aktiv[start]<= time()){echo"<font color=green>";} else{echo"<font color=red>";}?> 
&nbsp;Aktiv Rally</font></a><br>