 <p>PHP is a server-side language and you won't be able to load it up in a web browser just like that. You'll have to use a web server, like <a href="http://www.wampserver.com/en/" rel="nofollow">WAMP</a> or <a href="http://www.apachefriends.org/en/xampp.html" rel="nofollow">XAMPP</a> for example.</p> <p>Make sure of these things first:</p> <ul> <li>that PHP is installed and running on your computer</li> <li>that the file extension is <code>.php</code></li> <li>that you're accessing the php file with something like <code>localhost/yourfile.php</code> and not <code>file://yourfile.php</code></li> <li>that the permission for your files is correct (644 or 755 would be enough, I think)</li> </ul> <p>Hope this helps.</p>