Jump to content

Flown Route Map of Pilot & Recent PIREP of Pilot


Recommended Posts

Posted

Quick question,

I found this following code:

<?php MainController::Run('RouteMap', 'index'); ?>

Unfortunately this shows all the routes. Is there one that links to just a certain pilot's flow route map, in Google Maps?

Also, what is the code to pull a certain pilot's 5 most recent PIREP's?

Thanks in advance, had trouble finding it.

Posted

EDIT:

I found a code for a pilot's recent PIREPs, but it seems to either be outdated or I put it in wrong, because I'm receiving the following error:

Parse error: syntax error, unexpected

<?php echo $pirep= PIREPData::findPireps(array('p.pilotid' => [PILOT ID])); ?>

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...