I am new and learning php by changing examples in books.
I searched the forums for an answer to my problem but could not find one.
I am trying to display the results of a query in a table I have...
$display_blocktable .= "
<table>
<tr>
<th>Time</th><th>Address</th><th>Subdivision/Area</th><th>Company</th><th>Contact</th><th>Phone</th>
</tr>
<tr>
<td>$time</td><td>$address</td><td>$subdivision_area</td><td>$company</td><td>$contact</td><td>$phone</td>
</tr>
</table>
";
It works but it displays each record in it's own table with a heading. I want just one heading and the results in rows. Can anyone help??
Thank You.
Crisco
I searched the forums for an answer to my problem but could not find one.
I am trying to display the results of a query in a table I have...
$display_blocktable .= "
<table>
<tr>
<th>Time</th><th>Address</th><th>Subdivision/Area</th><th>Company</th><th>Contact</th><th>Phone</th>
</tr>
<tr>
<td>$time</td><td>$address</td><td>$subdivision_area</td><td>$company</td><td>$contact</td><td>$phone</td>
</tr>
</table>
";
It works but it displays each record in it's own table with a heading. I want just one heading and the results in rows. Can anyone help??
Thank You.
Crisco