Teaching Allocation System in PHP/Oracle