='$startweek' and datum<='$endweek' order by datum asc,popis asc ") or die("Chyba: ".mysql_error()); while ($result = mysql_fetch_array($query)) { if($datum<>"$result[den]. $result[mesic]. $result[rok]") { $datum="$result[den]. $result[mesic]. $result[rok]"; $nazevDne=$dny[date('w', strtotime($result[datum]))]; $menicko.="

$nazevDne $datum

"; } $menicko.=" $result[popis] $result[cena],- "; } $query = mysql_query("SELECT * FROM menud order by popis desc ") or die("Chyba: ".mysql_error()); while ($result = mysql_fetch_array($query)) { if($datum<>"$result[den]. $result[mesic]. $result[rok]") { $datum="$result[den]. $result[mesic]. $result[rok]"; $nazevDne=$dny[date('w', strtotime($result[datum]))]; $menickoid.="

$nazevDne $datum

"; } $menickoid.=" $result[popis] $result[cena],- "; } ?>

Denní menu pro tento týden