Comments
Events
News
PHP is a server side and widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
What is PHP?
What is a PHP File?
Why PHP?
Where to Start?
To get access to a web server with PHP support, you can:
PHP Installation
Download PHP for free here: http://www.php.net/downloads.php
Download MySQL for free here: http://www.mysql.com/downloads/index.html
Download Apache for free here: http://httpd.apache.org/download.cgi
<html>
<body>
<?php echo "Hello World"; ?>
</body>
</html>
Each code line in PHP must end with a semicolon. The semicolon is a separator and is used to distinguish one set of instructions from another.
There are two basic statements to output text with PHP: echo and print. In the example above we have used the echo statement to output the text "Hello World".