DB calls on my website

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

Hey

It’s the same, provided your DB is set correctly.

There is an excellent call sheet, with a list of all the details you need - right here:

https://pastebin.com/ERuvPcmV

Michael

 

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.