by Hiroshi on June 7th, 2008
If you want to learn PHP you have come to the right place. I will not only teach you how to do it but also provide you with practical examples and ready to use PHP scripts for your website in downloadable format. “PHP is an HTML-embedded scripting language. Much of its syntax is like C, Java and Perl with a couple of unique PHP-specific features. The goal of the language is to allow web developers to write dynamically generated pages quickly.”
See PHP’s home, PHP.net for more details.
Simple PHP Script
<? echo "hello world"; ?>
OR
<?php echo "hello world"; ?>
And for html
<html> <head> <title>My First PHP Script</title> </head> <body> <?php echo "Hello World!"; ?> </body> </html>
You have to start with tag and end it with ?> tag and every PHP command ends with a semicolon.
Simple and easy... eh!


