Monday, January 26, 2009

How to decalre variable using Php

Proper Format

$var_name = value;

Example:
//Open parameter

$txt = "Hello World!";
$number = 25;

$echo($txt . "
");
$echo($number);

?> //Closing parameter

Ouput:

Hello word
25

Download File


No comments:

Post a Comment

 

blogger templates | Make Money Online