adding project 6 PHP code