baueTerminTabelle($sql); } private function baueTerminTabelle($sql) { require("db.inc.php"); if ($stmt = $pdo -> prepare($sql)) { $stmt -> execute(); echo "\n\t"; echo ""; echo "\n\t"; $count = 0; while ($z = $stmt -> fetch()) { $count += 1; $zebratyp = "ungerade"; echo "\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n"; } echo "\n
NummerKursnameDozentBeginnEndeDauerMinMaxRaumBearbeiten
" . htmlspecialchars($z['termnr']) ."" . htmlspecialchars($z['Kursname']) ."" . htmlspecialchars($z['Dozentenname']) ."" . htmlspecialchars($z['beginn']) ."" . htmlspecialchars($z['ende']) ."" . htmlspecialchars($z['dauer']) ."" . htmlspecialchars($z['minanzahl']) ."" . htmlspecialchars($z['maxanzahl']) ."" . htmlspecialchars($z['vort']) ."" ."bearbeiten" ."
"; } } } ?>