To add or to remove days from last monday date if its not monday today i think that's the way i did it in PHP.
like this exampel
if it's not monday to day liste after last mondays date from to day
exampel
today is it 2005-03-03 and its not monday to day
the MYSQL shal liste efter last mondays date and that is int this exampel 2005-02-28
Othervise if it is monday to day the MYSQL will list after todays date.
the only thing that i dont solved yest is what to put in the fieald ???
$t = mysql_query("SELECT srvplon FROM srv_poll WHERE IF(DATE_FORMAT(NOW(), '%w') = 1, srvplde = CURDATE(), srvplde = ???)") or die (mysql_error());
$n = mysql_fetch_array($t);