Variables are used for storing a values, like text strings, numbers
or arrays. When a variable is declared, it can be used over and over
again in your script. All variables in PHP start with a ‘$’sign symbol.
$var_name=value;
For example:
<?php
$txt=”Hello world”;
echo $txt;
?>
$var_name=value;
For example:
<?php
$txt=”Hello world”;
echo $txt;
?>
Comments
Post a Comment