Development Help
For help and support for the development of addons
515 topics in this forum
-
Submiting a pirep Locally
by Guest- 0 replies
- 1.1k views
Hey there, My Friend and I created a java GUI application which reads our schedules database and lets the user search for a flight and gets the right data ready. You then click on 'Start Flight' and after you fly it, click on 'End Flight'. (Note that this is made for FlightGear Free and Open Source Flight Simulator) Then the application reads the flight time, fuel used and the route flown and posts the following variables to a temporary link (www.merlionvirtual.clubos.net/auto/scheduled.php) Now, there's nothing in the php file, so what do I put there so it can submit the PIREP with the posted data? Thanks a LOT for your help.
-
- 0 replies
- 1.1k views
Hi all i write this code for the SUM of a aircraft flight hours,for single pilot, from two mysql tables <?php $query = 'SELECT SUM(flighttime)FROM ( SELECT flighttime AS flighttime FROM '.TABLE_PREFIX.'pireps WHERE aircraft = 26 AND accepted = 1 AND pilotid = '.Auth::$userinfo->pilotid.' UNION ALL SELECT flighttime FROM '.TABLE_PREFIX.'pireps_OLD WHERE aircraft = 26 AND accepted = 1 AND pilotid = '.Auth::$userinfo->pilotid.' ) AS total'; $result=DB::get_row($query); { } ?> <?php echo Util::FormatDuration($result->total); ?> but dont work in the profile_stats.tpl can someone help me thanks
Last reply by mattia, -
- 0 replies
- 1.1k views
Solved Problen now. tks
Last reply by CN@ndo, -
- 0 replies
- 988 views
This topic has been moved to Releases. [iurl]http://forum.phpvms.net/index.php?topic=1177.0[/iurl]
Last reply by Nabeel, -
- 0 replies
- 940 views