I have a site where my client can put events into one of four time segments: 10:15am - 11:15am, 11:30am - 12:30pm, 1:45pm - 2:45pm, or 3:00pm - 4:00pm.
I'd like to present these on a page listed under subheadings for each time segment, so the events taking place at 10:15am - 11:15am would show up under that subheading, and so on.
The live page is here -
http://www.springflingevent.ca/sessions2.php - and the session details are displayed via an include, _include-sessions-segment.php.
Every session is being displayed under each time segment, rather than being sorted. Any suggestions on how to get this to work properly, please?
Also, once that's working, how do I get this to display in two columns?
======
_include-sessions-segment.php code:
<?php foreach ($sessions_detailsRecords as $record): ?>
<h2 class="h2Smaller"><strong><a href="<?php echo $record['_link'] ?>"><?php echo $record['title'] ?> »</a></strong></h2>
<p>Presented by <?php echo $record['presenter_s'] ?><br />
Time: <?php echo $record['time'] ?></p></td>
<?php endforeach; ?>
======
This is the code in sessions2.php that displays the include for 10:15am - 11:15am:
<?php
$_REQUEST['time']="10:15am - 11:15am";
include("_include-sessions-segment.php");
?>
======
Thank you!
Nigel Gordijk
Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net