Treehouse: Grow your CSS skills. Land your dream job.

Question on the PHP for Beginners tutorial

  • # May 29, 2010 at 8:40 pm

    I was doing the tutorial and was wondering how we were supposed to check if it’s working? Do you just go to server/folder/display.php? I get a blank page if I do that.

    # May 30, 2010 at 3:01 am

    you either have to upload it to a server that has PHP installed or install:


    Then you can run PHP/mySQL locally and view it from your computer

    # May 30, 2010 at 8:54 am

    I am already running MAMP and I created a database.

    # May 30, 2010 at 2:47 pm

    then you need to:

    1) Make sure you have put your files in the htdocs (or equivalent) folder…

    2) access via http://localhost/folder

    if it is all set up right and it dosen’t work – take another look at your code :)

    # May 30, 2010 at 3:07 pm

    also make sure php error reporting on MAMP is on … if you dont have it on you will get a white page if there is an error in your script.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.