Posted 19 June 2005 - 03:43 AM
Introduction Tutorial on PHP..
Firstly PHP stands for Hypertext Preprocessor.. It is an open source,interpretive,cross platform,HTML embedded, Server side language which lets you create dynamic Web Pages. Because PHP is A Server Side language it is executed on a server so the viewer cannot see the code.
To understand PHP you got to learn the basics.
Now PHP always starts with the <?php tag and ends with ?>
Those two tags Have to go at the top and bottom of the script in order for it to work...
Also the semicolon ";" is a seperator and is used to determine one set of instructions from the other.
This simple code is a perfect example...
echo "Hello World";
This simple code just Outputs on your Page Hello World.
Another Topic I will be explaining Here is Variables..
All Variables in PHP start with the "$" symbol. variables can consist of numbers, arrays and strings.
The code Below will show you that I have attached the String "I am Ali" to a variable called $hi.
$hi = "I am Ali";
This code will Output on your screen "I am Ali".
Now if you want to integrate two,three or more variables all you got to use is the "." operator...
The code below will will show you that I have a $hi and $hi1 variable both being attached to strings and being outputed by the "." operator.
$hi = "I am Ali";
$hi1 = "1234";
echo $hi1 ."". $hi1 ;
This script will output on your screen I am Ali1234.
This is my First ever Tutorial in PHP so i hope you like it and Soon i will make more on PHP..
By Hybr!d 2005
Posted 19 June 2005 - 04:06 AM
belgther... aka... belgther
Posted 22 June 2005 - 08:35 AM
I think you should go to the next part of your tutorial.
maybe I can learn something.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users