Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
PHP MYSQL LESSON 4_ VARIABLES IN PHP
6 Views • Dec 16, 2017
Description
In this tutorial you will learn how store information in a variable in PHP.
What is Variable in PHP
Variables are used to store data, like string of text, numbers, etc. Variable values can change over the course of a script. Here're some important things to know about variables:
In PHP, a variable does not need to be declared before adding a value to it. PHP automatically converts the variable to the correct data type, depending on its value.
After declaring a variable it can be reused throughout the code.
The assignment operator (=) used to assign value to a variable.
In PHP variable can be declared as: $var_name = value;
More from User
Almond Butter Recipe
Akash Jangra
PHP MYSQL LESSON 7 ( PART 1 ) _ LOOPS IN PHP
Akash Jangra
PHP MYSQL LESSON 6 ( PART 2 ) _ ARRAY IN PHP
Akash Jangra
PHP MYSQL LESSON 6 ( PART 1 ) _ ARRAY IN PHP
Akash Jangra
PHP MYSQL LESSON 5 (Part 1) _ OPERATORS IN PHP
Akash Jangra
PHP MYSQL LESSON 5 ( Part 2 ) _ OPERATORS IN PHP
Akash Jangra
Related Videos
PHP and MySQL - Chapter 6 - PHP Variables and Arrays - PHP Loops
Eduonix Learning Solutions
PHP and MySQL - Chapter 5 - PHP Variables and Arrays - PHP OOP
Eduonix Learning Solutions
PHP and MySQL - Chapter 4 - PHP Variables and Arrays - Functions, Include and Require
Eduonix Learning Solutions
PHP and MySQL - Chapter 7 - PHP Variables and Arrays - Conditionals and RegEx
Eduonix Learning Solutions
PHP and MySQL - Chapter 3 - PHP Variables and Arrays
Eduonix Learning Solutions
7.Curso PHP MySQL. Variables estáticas.
Diego Perlaza