OK I think I'm thick....
I can't get a simple font working within some PHP code. Here is the code...
<TABLE>
<TR>
<td colspan="2" border="0"><font color="#0000A0" size="2"
face="Arial"><b>Plane 1 (TowerPark) Availability - <?php echo $_POST[datebox] ?></B></font></TD>
</TR>
<?php
for ($counter=0; $counter<18; $counter++)
{
$query = ("SELECT * FROM Booking WHERE bookdate = '$_POST[datebox]' AND booktime = '$_POST[time]' and AircraftID = 'ARPL1' AND seatno = '$seating18[$counter]'");
$result = mysql_query($query);
$row = mysql_fetch_array($result);
If ($row["bookdate"] == $_POST[datebox])
{
echo ("<TR><TD>$seating18[$counter]</TD></TR>");
If ($row["BookingID"] == "")
{
}
else
{
echo (" BGCOLOR=red ");
}
echo (">");
echo ("Booked");
}
Else
{
echo ("<TR><TD>$seating18[$counter]</TD><TD bgcolor=green>");
echo ("<A HREF=makebooking3.php?$_SESSION[sessionident]&bookdate=$_POST[datebox]&booktime=$_POST[time]&aircraftid=ARPL1&seatno=$seating18[$counter]>Book now</A>");
}
echo ("</TD></TR>");
}
?>
<P><BR>
</TABLE>
I simpy want to make the counter 1-18 Arial in black, and the 'Book Now' text Arial in white. At the moment they both are in Times New Roman, and since the 'book now' is on a green or red background, it isn't amazingly legible...
Can someone help a tired tired person?
Cheers!😉