A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: unmatched closing parenthesis at offset 38

Filename: hooks/Check_user.php

Line Number: 222

Backtrace:

File: /home/b2z283hyjn3q/public_html/application/hooks/Check_user.php
Line: 222
Function: preg_match

File: /home/b2z283hyjn3q/public_html/application/hooks/Check_user.php
Line: 89
Function: getOS

File: /home/b2z283hyjn3q/public_html/application/hooks/Check_user.php
Line: 12
Function: anylisis

File: /home/b2z283hyjn3q/public_html/index.php
Line: 315
Function: require_once

Unknown what is variable in php | PHP Tutorial for Beginners to Advance Full Course | Part 11 | My Project HD
X

what is variable in php | PHP Tutorial for Beginners to Advance Full Course | Part 11

what is variable in php | PHP Tutorial for Beginners to Advance Full Course | Part 11





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;
?>

More Tutorials

Web Technology Tutorials in Hindi

Web Technology Tutorials in Hindi

Read More
Diploma engineering tutorial for polytechnic collage

Diploma Engineering Tutorial

Read More
Final Year Projects for Computer Science with Source Code

Final Year Projects for Computer Science with Source Code

Read More