You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
engelsystem/nonpublic/schichtplan.1.php

20 lines
476 B
PHP

<h4>&nbsp;Tage </h4>
<?
$SQL = "SELECT `DateS` FROM `Shifts` ORDER BY `DateS`";
$Erg = mysql_query($SQL, $con);
for ($i = 0 ; $i < mysql_fetch_row($Erg) ; $i++)
if ($tmp != substr(mysql_result($Erg, $i , 0), 0,10)) {
$tmp = substr(mysql_result($Erg, $i , 0), 0,10);
echo "\t<li><a href='./schichtplan.php?ausdatum=$tmp";
// ist ein raum gesetzt?
if (IsSet($raum)) {
echo "&raum=$raum";
}
echo "'>$tmp</a></li>\n";
}
?>