Completed question 5, created PHP error undefined variable