Learning Management System php script