part of my PHP internship code