<?php include 'class.schedule.php'; // this is my 2nd period schedule of the 2nd grade of my college course $sch = new Schedule(); $sch->LoadXmlFile(realpath('test2.xml')); $sch->Draw(); ?>