Yes.. Do this: <table> <tr> <td><? // loop through the column headers here?></td> </tr> <? for (each time slot) { echo "<tr>"; $data = (get db data for that timeslot) while ($d = mysql_fetch_assoc($data)) { echo "<td>"; echo $d['your data']; echo "</td>"; } echo "</tr>"; } </table> see what I'm getting at? On Monday 07 April 2003 2:59 pm, Jennifer Goodie wrote: > It seems that your table structure is bad. Maybe put a border=1 in the > table tag so you can see what is going on. In my experience using the <tr> > and </tr> tag to define what goes in which row is the way to go. > > > -----Original Message----- > > From: Jay Fitzgerald [mailto:jayfitz@bayou.com] > > Sent: Monday, April 07, 2003 2:58 PM > > To: php-db@lists.php.net > > Subject: PHP Program Schedule > > > > > > I am lost on this one... > > > > Example 1: http://www.kcla-tv.com/admin2/test.php > > this looks fine on the frontend, except when you look at Example 2 > > > > Example 2: http://www.kcla-tv.com/admin2/test2.php > > > > These shows (Living the Life Gerbert How Can I Live GDM Ministries See > > Mores) are supposed to be on the next table row for the time > > 6:00; however, > > I cannot for the life of me figure out why this isnt working... > > > > Does anyone have any clues? > > > > > > Jay Fitzgerald, Design Director - CPW-A, CPWDS-A, CPWDV-A, CECM-A, > > CWCSB-A Bayou Internet - http://www.bayou.com > > Toll Free: 888.30.BAYOU (22968) > > Vox: 318.338.2034 / Fax: 318.338.2506 > > E-Mail: jayfitz@bayou.com > > ICQ: 38823829 / AIM: bayoujf / MSN: bayoujf / Yahoo: bayoujf -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php