Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP PHP Basics Getting to Know PHP PHP Basic Usage

php tags and statement that display hello world

help

index.php
<?php 
echo"Hello world";
?>

2 Answers

pascal meers
pascal meers
6,508 Points

Hello kasiita timothy,

Check your spelling. The text you need to display has 2 uppercase letters (H)ello (W)orld . This causes the bummer.

For the rest your code is fine but to make it readable i would add an space after the echo. See the example

<?php
    echo "Hello World";
?>

thanks for replies.........it has worked for me

Algirdas Lalys
Algirdas Lalys
9,389 Points

Hi kasiita timothy,

You just missed a space between echo and your string "Hello World" and "World" should start with Capital "W" according to challenge

<?php
  echo "Hello World";
?>

thanks for replies.........it has worked for me