Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

Thursday, September 4, 2008

Some PHP Exercises

How does a block of PHP code begin and how does it end?
Can I have HTML tags in a PHP file?
Is it true that all PHP statements should end with a comma?

Wednesday, September 3, 2008

A PHP File

A PHP program could be written with a simple text editor such as notepad. In order to develop web pages that look better, web development applications such as Macromedia Dreamweaver could also be used.


A PHP file would contain PHP statements, functions etc. as well as HTML tags and scripts. However, there could be PHP files that contain no HTML.
PHP files are usually saved with the extension, ".php”.
All statements in PHP end with a semicolon.