Program Day at at Glance.
".$day_query.""); include('functions.html'); $host= ":/var/lib/mysql/mysql.sock"; $username = "chicon"; $database = "chicon"; $tablename = "program"; if (!($link=mysql_connect ("localhost:/var/lib/mysql/mysql.sock", $username) )) { echo ("database offline"); exit(); }; if (!mysql_select_db($database, $link)) { echo ("database not selected"); exit(); }; echo("
"); $program_query="Select * FROM program WHERE day LIKE '".$day_query."%' ORDER BY dayorder, start, title;"; $result = mysql_db_query($database,$program_query,$link); while($row = mysql_fetch_array($result)) { $id=$row["id"]; $day=$row["day"]; $start=substr($row["start"],-5); $end=substr($row["end"],-5); $room=$row["room"]; $title=$row["title"]; $who=$row["who"]; $desc=$row["description"]; $code=$row["code"]; $codeword=makecodewords($code); outputhtml($id, $day, $start, $end, $room, $title, $who, $desc, $code, $codeword); } echo("
"); ?>
Back to
Program Search.
Return to
Top
.