php for both the student and teacher healthmeter