Thursday, October 18, 2007

Some Basic Points About PHP

Today in class we started to look at some PHP scripting language. initially we will look at the basics but we will soon move on to more complicated stuff.
  1. PHP stands Pre Hypertext Processor
  2. It is a server Scripting language
  3. Its an open source software and
  4. It supports many databases.
A PHP file may contain Text, HTML tags and scripts and the files are returned to the servers as HTML. PHP Extensions are .php , .php3 and .phtml

PHP Syntax



A php file must stat with and end with ?>

echo " hello world"
will reproduce Hello world in the browser.

Variables are declared as
$var_name = "value"

No comments: