# Charter versus Scheduled ratio?

**URL:** <https://forum.phpvms.net/t/charter-versus-scheduled-ratio/2667>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [May 16, 2010, 7:28pm UTC](https://forum.phpvms.net/t/charter-versus-scheduled-ratio/2667 "2010-05-16T19:28:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@Alex](https://forum.phpvms.net/u/Alex)\
**Post date:** [May 16, 2010, 7:28pm UTC](https://forum.phpvms.net/t/charter-versus-scheduled-ratio/2667/1 "2010-05-16T19:28:40Z")

</div>

I have a simple custom pirep field, a drop down yes/no box which asks if the flight is a charter rather than a scheduled flight.

I was wondering how i could add some code to find the ratio between the the accepted pireps to display in the flight stats admin side?

ie 60% scheduled, 40% charter.
