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

julia pak
julia pak
2,345 Points

php: creating the menu and footer-starting the project

Hi there! So I need some help with this. I have been following along with the video.

I followed the previous videos where it showed how to install mamp. I have that installed correctly however when I tried to change the ports to:

Apache: 80 (as suggested in the video) MSQL: 8889

it did not work. However when I swtiched back to the default (apache 8888) everything worked fine.

Now that I am working on the video creating the menu and footer-starting the project I am getting some problems when I change the file to index.php. My web browser is showing a server error.

I am pretty sure my syntax is correct. Here are the lines that were edited on my text editor: <title><?php echo "Shirts 4 Mike";?></title>

and then at the bottom:

<p>©<? php echo date ('Y'); ?> Shirts 4 Mike</p>

any help?

2 Answers

julia pak
julia pak
2,345 Points

oh!! Now I see what I did...syntax error! And here I was sitting around about to pull my hair out!

James Barnett
James Barnett
39,199 Points

@julia - Rock on with your bad self, I love it when people solve their own issues. :guitar: