Jump to content

Recommended Posts

Posted

Hello ,

I did an install oh phpvms on subdomain , and I have a html template on my main website ( I will switch him to php to put the code )

But I would like to know what code to put to make the database call ( pilots ,  routes , flights , miles flown etc... ) 

 

Cheers

Rafael Letras

  • Moderators
Posted
On 6/22/2017 at 8:05 PM, RafaelLetras said:

Hello ,

I did an install oh phpvms on subdomain , and I have a html template on my main website ( I will switch him to php to put the code )

But I would like to know what code to put to make the database call ( pilots ,  routes , flights , miles flown etc... ) 

 

Cheers

Rafael Letras

You will need a separate module to achieve that. For pilots there is a stand-alone code:

<?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?>

Also for the PIREPS:

<?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?>

But if you want all those data together, you'll need to create a module.

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