Jump to content

Type of flight not displayed


CrashGordon

Recommended Posts

It should be obvious from this that I don't know PHP, but the following code

<h3>Schedule Details</h3>
<div class="indent">
<strong>Flight Number: </strong> <?php echo $schedule->code.$schedule->flightnum ?><br />
<strong>Departure: </strong><?php echo $schedule->depname ?> (<?php echo $schedule->depicao ?>) at <?php echo $schedule->deptime ?><br />
<strong>Arrival: </strong><?php echo $schedule->arrname ?> (<?php echo $schedule->arricao ?>) at <?php echo $schedule->arrtime ?><br />
<strong>Type: </strong><?php echo $schedule->type ?><br />
<?php

produces this display.

Schedule DetailsFlight Number: ABV888

Departure: Sydney International Airport (YSSY) at 0700

Arrival: Townsville Amo (YBTL) at 1000

Type:

Note there is no type data displayed.  Sorry to be so dumb. :'(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...