I was doing the http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/ 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.
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
I am already running MAMP and I created a database.
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 :)
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.
You must be logged in to reply to this topic.