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

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: