Check that the files you are using are being ran through localhost.
Make sure all your services are started.
iamthwee
Posting Genius
6,254 posts since Aug 2005
Reputation Points: 1,567
Solved Threads: 476
Skill Endorsements: 34
If you're running Apache, and PHP, have you installed and configured mod_php5? This is what essentially links the two and tells the web server to parse the PHP code, rather than just return it.
blocblue
Practically a Posting Shark
837 posts since Jan 2008
Reputation Points: 272
Solved Threads: 161
Skill Endorsements: 12
You don't need to login to the database to run your script. However, your Apache server must be on.
SQLpower
Junior Poster in Training
82 posts since May 2011
Reputation Points: 10
Solved Threads: 2
Skill Endorsements: 0