Hi ich weiß ja nicht ob es noch gesucht wird aber ich hab da die Umsetzung für :
$race=mysql_fetch_array(mysql_query("SELECT von, bis, uid FROM race_usr WHERE uid=".$_SESSION['uid']." LIMIT 1"));
<img src="images/pfeil.gif" border="0" alt=""><a href="?content=/rat_race/rat_race"><? if ($race[bis]>= time() and $race[von]<= time()){echo"<font color=green>";} else{echo"<font color=red>";}?>
Rat-Race</font></a><br>
läuft ohne Probleme bei mir.
Liebe Grüße Steffi