$result = mysql_query("SELECT * FROM patterns WHERE YEARWEEK(datetxt) = YEARWEEK(CURDATE()) ORDER BY dsptxt");