Professional Documents
Culture Documents
My PHP Notes
My PHP Notes
My PHP Notes
web pages. PHP scripts are embedded into HTML and these scripts are then executed on the web server to produce an HTML page that is sent to the user. This means that users do not need to install any software to be able to view PHP generated pages. All that is required is that the web server has PHP installed to interpret the script. Tools: Adobe Dreamweaver CS3 How to Comment Lines: // (Single Line) /* (Multi Line) */ Tutorial:
<html> <head><title>Learning PHP</title></head> <body> <?php echo "Hello World"; ?> OR print "Hello World"; OR <?= "Hello World" ?> OR <script language="php">...</script> OR <% ... %> (This is ASP Tags, This style is disabled by default, but can be turned on from the PHP configuration file.) </body> </html>