php codes are written to front-end pages