Variables in PHP
Variables are used for store different type of values, like text , numbers.When a variable is declared, it can be used again anywhere in your script.
All variables in PHP start with a $ sign symbol.
Example for declaring php variable
$variable_name=value;
Php is loosly typed language a php variable can store all type of value it does not need to specify one type of variable.
Rules for declaring variables:
Rules for naming php variable is
jst like c++ variable.
·
A variable must be start
with letter or underscore(_).
·
It not includes the
space.
String Variables in PHP:
For strings In php
we simply declare a variable as show above and assign it string value in double
quotes.
LuckyClub Casino site - Lucky Club
ReplyDeleteOur team of game luckyclub specialists makes sure that all our slot games are made with software that's more than capable of giving you the What Are The Best Slot Machine Games?How Many Slot Machines Can I Play For Free?