|
A variable is a container that hold the value. A variable consist a name taht you can choose. Variables can hold string, number, array, booleans. That will be end with semicolon(;) .
variable assign with dollar sign($) followed by name.
eg. $name
<?php
$name="jspservlettutorial"; // define a variable name that hold the value jspservlettutorial.
print $name; // here we print the varibale.
?>
|
|