0 9

Web Technology II05 marksVariable definition and declaration

How can you define variable in PHP. Illustrate with example.

How can you define variable in PHP. Illustrate with example. [5]

A variable in PHP is a named storage location that holds a value. PHP variables are loosely typed, meaning you do not need to declare the data type explicitly -- the type is determined automatically based on the assigned value. --- 1. A variable must start with a dollar sign (

Up nextHow conversion between array and variables is done?