RafaelLetras Posted June 22, 2017 Report Share Posted June 22, 2017 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 Quote Link to comment Share on other sites More sharing options...
halomeny Posted June 23, 2017 Report Share Posted June 23, 2017 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 Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted June 29, 2017 Moderators Report Share Posted June 29, 2017 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.