Introduction to PHP
Presenter: Suraj Motee
What is PHP?
 PHP is a server scripting language, and a
powerful tool for making dynamic and
interactive Web pages.
 A PHP script is executed on the server,
and the plain HTML result is sent back to
the browser.
Syntax
 The default file extension for PHP files is
".php".
 A PHP script starts with <?php and ends
with ?>
 <?php
// PHP code goes here
?>
HTML & PHP
A PHP file normally contains HTML
tags, and some PHP scripting code.
Show example.
Comments
 /* */
 #
 //
Case sensitive
PHP is not case sensitive except
variables name.
Show examples.
Next: Variables

Introduction to php