What is PHP?
PHP ( Full name: PHP: Hypertext Processor ) is described by the creators them self like this:
"PHP is a widely-used general-purpose scripting language that is especially suited for Web development"
A Few things about PHP:
PHP files have a file extension of ".php", ".php3", or ".phtml"
PHP stands for PHP: Hypertext Preprocessor
PHP is a server-side scripting language, like ASP
PHP scripts are executed on the server
PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
PHP is an open source software
PHP is free to download and use
Step 1: PHP Tags: Full
Step 2: PHP Tags: Short
Step 3: Hello World!
Step 4: PHP Comments
Step 5: Variables
$b = "c";
$hello = "world";
echo $a; //1
echo $b; //c
echo $hello; //world
Variables are very easy to use.
Just remember to use singe quotes or double quotes if it's a string.