This forum is now read-only. Please use our new forums! Go to forums
why wont this work? please help. 1/8
this is what my code looks like and i have even checked the hint and I had already done what it suggested.
Answer 53b8cc76631fe947a90009a9
1 vote
Hello, use Person
instead of person
, that is, in PHP the name of a class starts with a capital letter.
Please make the suggested modifications and refresh the web page.
Answer 552d215c86f5522c910004e6
0 votes
As an alternate solution to a similar (but different) problem, the curly bracket must also be immediately after the class name here, unlike other exercises.
So, “class Person{“ will work, but “class Person {“ will fail.
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
Thank you i did not pick up on that it worked Thanks.