# How to Add Flight Type?

**URL:** <https://forum.phpvms.net/t/how-to-add-flight-type/3701>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [November 24, 2010, 8:09pm UTC](https://forum.phpvms.net/t/how-to-add-flight-type/3701 "2010-11-24T20:09:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [November 24, 2010, 8:09pm UTC](https://forum.phpvms.net/t/how-to-add-flight-type/3701/1 "2010-11-24T20:09:03Z")

</div>

Hey Guys, I’m trying to look around to how to add flight types. Like for example that I want to add a “Private” Flight To my flight creation drop down list? Is it possibility to this?

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [November 24, 2010, 8:42pm UTC](https://forum.phpvms.net/t/how-to-add-flight-type/3701/2 "2010-11-24T20:42:20Z")

</div>

Way down in the bowels of the app.config.php file there is an array of options that your new flight type would have to be added to.

```
/**
* Constants
*	Do not modify these! All sorts of weird stuff can happen
*/ 
# Set the type of flights we have
Config::Set(
'FLIGHT_TYPES', array(	
	'P'=>'Passenger',
	'C'=>'Cargo',
	'H'=>'Charter'
)
);

```

But as the notes say, be careful. After adding it to the array you will have to modify all your drop downs and such accordingly. I have no idea as to if it would affect Acars programs among other things or not…

Good luck

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [November 24, 2010, 9:14pm UTC](https://forum.phpvms.net/t/how-to-add-flight-type/3701/3 "2010-11-24T21:14:27Z")

</div>

Now you are just a smart guy here at phpVMS. Thanks.

I can do the rest, Thanks for your help
