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 Build a Simple PHP Application Getting Started with PHP Your First PHP File

even if the answer right i am unable to continue

<!DOCTYPE html> <html> <head> <title> Shirt 4 Mike </title> </head> <body> <h1> Shirt 4 Mike </h1> <p>&copy<?php echo date('Y');?> Shirt 4 Mike </p> </body> </html>

example.php
<!DOCTYPE html>
<html>
  <head> 
    <title> Shirt 4 Mike </title>
   </head> 
<body>
    <h1> Shirt 4 Mike </h1>
      <p>&copy<?php echo date('Y');?> Shirt 4 Mike </p>
</body>
</html>

3 Answers

Hi Kinda,

Add a PHP command that would display the name of our website, Shirts 4 Mike, inside the H1 tag.

Inside the h1 tag, 'Shirts 4 Mike' should be surrounded by opening and closing php tags. The p tag you have is not required to pass the challenge in "Your First PHP File", and in fact may prevent passing. Please let me know if this helped or if you're still having issues.

Best Regards

i wrote the first code i believe correct, but i am unable to proceed. would you please check it out for me ?

thank you :)