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 trialMELVIN GEORGE
3,490 PointsProblem With PHP ?
What's Wrong with this code...?
Its keep saying "try again"..!
<?php
$name ="Mike";
?>
<!doctype html>
<body>
<section>
<h1><?php echo "Mike" ?></h1>
</section>
</body>
2 Answers
Samuel Glister
12,471 PointsHi Melvin,
The only issue i can see here is you need to add a space between = "Mike"
Hope this helps
MELVIN GEORGE
3,490 PointsThanks sir ..It helped me this code challenge issue..!
Samuel Glister
12,471 PointsSamuel Glister
12,471 PointsAlso you may want to echo out the variable name i.e so its
<?php echo $name ?>
Sorry missed this initially