It's not so much what I did wrong as not knowing what to do. Here is the important part of the code.
I need to get $date formatted properly as well as $length (now in seconds, so I could just calculate that unless there's a more succinct method).
$history_info="SELECT starttime, stoptime, length, date FROM logs WHERE personal='$id' ORDER BY date DESC, starttime DESC";
$result=mysql_query($history_info);
while ($row = mysql_fetch_array($result, $connection)){
$show_date=$row["date"];
$show_starttime=$row["starttime"];
$show_stoptime=$row["stoptime"];
$show_length=$row["length"];
echo ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="text" width="25%">
<?=$show_date?>