Introduction to php
7
Introduction to PHP Presenter: Suraj Motee
-
Upload
suraj-motee -
Category
Internet
-
view
141 -
download
4
Transcript of Introduction to php
Introduction to PHPPresenter: 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