Well This is a Guide for beginners in the PHP language area..
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...
<?php
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.
<?php
$hi = "I am Ali";
echo $hi;
?>
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.
<?php
$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
Sponsored by: █ Sparkhost - Hosting Without Compromises! █ Hybrid Performance Web Hosting █ Spark Host Stream Hosting █ Hybrid IRC & IRCd Server Shell Accounts
Php Guide
Started by
Hybr!d
, Jun 19 2005 03:43 AM
3 replies to this topic
#1
Posted 19 June 2005 - 03:43 AM
#2
Posted 19 June 2005 - 04:06 AM
BTW, is Ali your real name?
"The wisest one is the one who knows himself/herself." Quote of the life
belgther... aka... belgther
belgther... aka... belgther
#3
Posted 19 June 2005 - 04:47 AM
Yep Ali is my real name lol
#4
Posted 22 June 2005 - 08:35 AM
lol
,
I think you should go to the next part of your tutorial.
maybe I can learn something.
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












