Airline Mogul Forum

New Gate problem

StephenM

  • Administrator
  • Airline Board Member
  • *****
    • Posts: 6038
    • View Profile
on: July 11, 2007, 06:28:48 pm
For Air Elbonia...

Shouldn't fiddle with my scripts. :P

Quote
Warning: Division by zero in /home/airlinem/public_html/airlinemogul/view_gates.php on line 84

I believe this is the problem
Quote
View     OTP     Bucharest - Henri Coanda         0     0     100%     €0     1


May take a look myself if I get a chance!
Stephen Murphy
Airline Mogul Chief Developer


Air Elbonia

  • Administrator
  • Airline Senior Manager
  • *****
    • Posts: 2089
    • View Profile
Reply #1 on: July 11, 2007, 09:51:54 pm
Alright, i forgot a tiny thing, a DELETE WHERE gates = 0, easy to overlook.  And i think i need to move a different thing to the right a few spots.

for revamping your code, turning it into 5ish queries from the numerous it was... and only having one tiny bug? this is the thanks i get?

:P  Anyways, your gate val's are significantly off, because your gate return feature is off buddy.
Air Elbonia, First in Time Travel since 2073!  (AEB ID in Game: 333)


 

SMF spam blocked by CleanTalk