provided by: 
Originally published at Internet.comNow that you have a working PHP development environment, it's time to start learning some of the actual language.
In the next few articles, we will be taking a look at the fundamentals of the PHP language in preparation for creating your first script: a full-fledged form processor. This time, we will be focusing on the basic structure of PHP and taking a look at how it handles variables and data types.
Basic Syntax
Starting and Ending PHP Code Blocks
Take a look at the following simple PHP script:
Testing PHP In this example, PHP is embedded directly into an HTML document. Because PHP and HTML can be mixed like this, every block of PHP code must be surrounded by Start and End elements. These elements allow PHP to see which sections of the page need to be parsed, and which can be ignored.
PHP recognizes four different versions of these sets:
1.
2.
3. print "hello there!"; ?>
...
Read article at Internet.com site