Modified physical exam and calendar php