Final php page for iteration 1