heres the page that has the problem:
http://sunward.dth-scripts.com/TESTPAGE.PHP
bassicaly its a html page with php includes dotted where content needs to be dynamic, the problem im having is the table on this page is overlapping the boxes on the right, and i havent got the foggiest as to how to increase the width of the middle section?
heres the code for the content for the table:
echo "<h4>Pirep List - SA$pid</h4>";
echo "All hours displayed are current and up to date, and are displayed as hours and 10th's of an hour due to the calculation method we employ<br>";
echo '<br><table cellspacing="1" bordercolor=#000000 cellpadding="2" border="2">';
echo "<tr><td>Departure Time</td><td>Arrival Time</td><td>Departing From</td><td>Departing To</td><td>Aircraft Reg</td><td>Duration Of Flight (Hours)</td><td>Flight Number</td></tr>";
$query = "SELECT * FROM $table3 WHERE PilotID=$pid ORDER BY ID ASC";
$result = mysql_query($query)or die(mysql_error());
while ($row = mysql_fetch_assoc($result)) {
$id = $row['ID'];
$totime = $row['StartTime'];
$LndTime = $row['Landime'];
$from = $row['From'];
$to = $row['To'];
$acrft = $row['Aircraft'];
$Hours = $row['TotalHours']/60;
$fltno = $row['flightno'];
$dati = $row['DateTime'];
$query2 = "SELECT AirportName FROM $table5 WHERE icao='$from'";
$result2 = mysql_query($query2)or die(mysql_error());
while ($row2 = mysql_fetch_assoc($result2)){
$apname = $row2["AirportName"];
$query3 = "SELECT AirportName FROM $table5 WHERE icao='$to'";
$result3 = mysql_query($query3)or die(mysql_error());
while ($row3 = mysql_fetch_assoc($result3)){
$apname2 = $row3["AirportName"];
echo "<tr><td>$totime</td><td>$LndTime</td><td>$apname</td><td>$apname2</td><td>$acrft</td><td>$Hours</td><td>$fltno</td></tr>";
}}}
heres the html code for the content section of the page:
<!-- Start of How We Started -->
<div id="started_container">
<div id="started">
<?php include "getpage.php"; ?>
</div>
</div>
<!-- End of How We Started -->
so could someone explain how i can overcome this problem?