Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP Build a Simple PHP Application Creating the Menu and Footer Starting the Project

Kelly Ferrell
Kelly Ferrell
2,561 Points

ehco not working

I have saved the index file to a php extention. My title echo works but the footer one doesn't. I have rechek the code several times and don't know what I'm doing wrong.

<p> © <?php echo date('Y');?> Shirts 4 Mike</p> My index file is saved as PHP a

7 Answers

Erik McClintock
Erik McClintock
45,783 Points

Kelly,

Can we see the rest of the code to help diagnose the issue?

Erik

let me make you one demo

i HAD SAME THING WITH THEM STARTING THE PROJECT I AM USING THE XAMPP HERE THE VIDEO ERROR WHICH THEY CANNOT READ MY FILES EVEN THOUGH THE XAMPP IS TURNING ON BOTH OF APACHE AND MYSQL https://www.youtube.com/watch?v=7L5bnteDmGY&feature=youtu.be

sorry for set the capital. :)

Kelly Ferrell
Kelly Ferrell
2,561 Points

Thanks you Demo really helped. Kelly

Have you tried https://www.youtube.com/watch?v=JR_yxJzxTxo How to solve XAMPP problems [when apache doesn't start] HD?

Kelly Ferrell
Kelly Ferrell
2,561 Points

I wasn't able to get my xammp to work so I put it on my other laptop. However going via the local website worked. Thanks