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

Algirdas Lalys
Algirdas Lalys
9,384 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

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