- Articles|
- Tutorial|
- Ask|
- Classified|
- Health|
- Wisdom|
- Funzone|
- Blog|
- Entertainment|
- Links
Tutorial Home »» PHP Basic »» PHP Introduction
PHP Introduction
By Admin | Posted on 20:32 PM , Sunday, Sep 05, 2010 | Posted In PHP Basic
PHP is a Server Side Scripting languge. PHP stand for 'Hypertext Pre Processor'.
PHP suport many types of databases such as MySQL, Generic ODBC, Oracle, Sybase, Solid, PostgreSQL etc.
This is open source and user can download this free of cast.
What do PHP code look like?
PHP is a simple language.The maximum syntax of PHP are borrowed from C concept for dealing with the types of variables. It don't necessary to declare variables before you use them.The PHP file are Save as with this ".php" extensioz.
Syntax:
<?php $txt = "This is my first PHP script"; echo $txt; ?>
This is start block"<?php"and end Block"?>" in PHP code. In the HTML document PHP code block can be placed anywhere .
The semicolon is must be used end of each separate instruction in PHP. This tag (?>) is used in PHP end of the instruction.
Example:
<html> <head><title>Php Simpal Example</title></head> <body> <h1><?php echo "Hello Jhon Smith "; ?></h1> <?php $txt = "This is my first PHP script"; echo $txt; ?> </body> </html>
Output:

Please login to download this program.


Loading . . .