Jump to content

[SOLVED] Strings


AnotherQuestion

Recommended Posts

it was the first format the code i used was:

 

<table width="345" border="0">
      <tr>
        <td width="128"> </td>
        <td width="207"><p> </p></td>
      </tr>
      <tr>
        <td><strong>Registration</strong></td>
        <td><p><?php echo $row_RSVehicles['PKey']; ?></p></td>
      </tr>
      <tr>
        <td><strong>Make</strong></td>
        <td><p><?php echo $row_RSVehicles['Make']; ?></p></td>
      </tr>
      <tr>
        <td><strong>Model</strong></td>
        <td><p><?php echo $row_RSVehicles['Model']; ?></p></td>
      </tr>
      <tr>
        <td><strong>Chassis</strong></td>
        <td><p><?php echo $row_RSVehicles['VehicleNo']; ?></p></td>
      </tr>
      <tr>
        <td><strong>Colour</strong></td>
        <td><p><?php echo $row_RSVehicles['Car_Colour']; ?></p></td>
      </tr>
      <tr>
        <td><strong>Reg Date</strong></td>
        <?php	$strregdate = $row_RSVehicles['FirstReg'];?>
        <td><p><?php echo date('d/m/Y',strtotime($strregdate));  ?></p></td>
      </tr>
      <tr>
        <td><strong>Mot </strong></td>
        <?php $strmot = $row_RSVehicles['MotDue'];?>
        <td><p><?php echo  date('d/m/Y',strtotime($strmot)); ?></p></td>
      </tr>
      <tr>
        <td><strong>Service</strong></td>
        <?php $strservice = $row_RSVehicles['ServiceDue'];?>
        
        <td><p><?php echo date('d/m/Y',strtotime($strservice)); ?></p></td>
      </tr>
      <tr>
        <td><strong>Engine Size</strong></td>
        <td><p><?php echo $row_RSVehicles['Engine_Size']; ?></p></td>
      </tr>
      <tr>
        <td><strong>Engine No</strong></td>
        <td><p><?php echo $row_RSVehicles['Engine']; ?></p></td>
      </tr>
      <tr>
        <td><strong>Mileage</strong></td>
        <td><p><?php echo $row_RSVehicles['Mileage']; ?></p></td>
      </tr>
      <tr>
        <td><strong>Fuel </strong></td>
        <td><p><?php echo $row_RSVehicles['Fuel']; ?></p></td>
      </tr>
      <tr>
        <td><strong>Tyres</strong></td>
        <td><p><?php echo $row_RSVehicles['Tyre_Size']; ?></p></td>
      </tr>
      <tr>
        <td> </td>
        <td><p> </p></td>
      </tr>
      <tr>
        <td><p><a href="Booking.php?RegNo=<?php echo $row_RSVehicles['PKey']; ?>&Acon=<?php echo $row_RSVehicles['AirCon']; ?>">Book a Service</a></p></td>
        <td><p><a href="VehicleDelete.php?RegNo=<?php echo $row_RSVehicles['PKey']; ?>">Delete Vehicle</a></p></td>
      </tr>
    </table>

Thank you for that.

Link to comment
https://forums.phpfreaks.com/topic/172760-solved-strings/#findComment-912564
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.