I´m customizing a VA with phpVMS and I´m having some problems showing VA STATS on Home page which it is not made with phpVMS. DB is pointing to a subdomain where phpVMS CrewCenter is allocated. Can I call this DB to html home? I need some lines as TotalHours, TotalFlights etc…like shown at ADMIN side on Dashboard.
I have change from index.html to index.php and the server settings to call .php files as “index”
All stats works fine. Thanks by your help.
Best regards
I seem to have ran into a problem using this method. I’ve included the code on top, and I can confirm it works as I’ve managed to iFrame the live map. However, when attempting to call the phpVMS functions, any content below that line disappears and the stats don’t show. It’s probably something small that I’m missing. Any ideas? Thanks
Update: I didn’t have the top line correct and was receiving errors from my error_log all along. However, with that now fixed, I get the following error where the call function is placed:
Fatal error : Class ‘StatsData’ not found in /home/mydomain/public_html/v1/test.php on line 209