= 60) $duration = "$duration hours"; else $duration = "$duration hour"; $presenter_name_initcaps = $firstname . " " . $surname; $presenter_name = strtolower($presenter_name_initcaps); $venue = $venue_room . ", " . $venue_building; if ($venue === "unknown, unknown") $venue = "tba"; if ($title === "unknown title") $title = "tba"; if ($presenter_name === "unknown presenter") $presenter_name = "tba"; if ($course_code === "???") $course_code = "tba"; // Convert any spaces in file name to %20 (to pass W3C validation) $photo = str_replace(" ", "%20", $photo); // Check whether an image file name has been entered in the database, then check whether that file exists if (!empty($photo)) { $photo_file = "pictures/presenters/$photo"; if (file_exists($photo_file)) { $display_block .= "\n\"$presenter_name,"; } else { $display_block .= "\n\"No"; } } else { $display_block .= "\n\"No"; } $venue_room = $venue_room; $venue_building = $venue_building; $display_course_code = "

course code: $course_code

"; $display_block .= "\n

$title

"; $display_block .= "\n

with $presenter_name
"; $display_block .= "\n$presentation_date, $presentation_start_time - $endtime
"; $display_block .= "\nvenue: $venue

"; $display_block .= "\n
"; } // The connection will be closed automatically when the script ends, but to make it explicit: mysqli_close($connection); ?> AT Congress 2015 | <? echo $presenter_name_initcaps ?> | Plenary Session
University of Limerick Concert Hall

plenary session

Facebook icon Twitter icon Youtube icon Email icon

all plenary sessions daily schedule weekly schedule