Unknown
Variables in PHP
1.What is Variables :
Variables are used to store information to be referenced in a computer program. They also provide a way of labeling data with a descriptive name, so our programs can be understood more clearly by the reader and ourselves. It is helpful to think of variables as containers that hold information
2.PHP Variable :
PHP Variable starts with $ symbol
Example 1
$name=”Hello”;
$first_name=”First name here”;
$firstName=”First name here”;
$name1=”First name here”;
Program Using PHP Variables
<?php
$message = "This is a variable page";
echo $message;
echo "<br>";
echo $message;
?>