WHAT A LAMP Rotating Header Image

Posts Tagged ‘variables’

PHP Variables

A variable are used for storing a values, like text strings, numbers or arrays. When a variable is set it can be used over and over again in your script All variables in PHP start with a $ sign symbol. The correct way of setting a variable in PHP: $var_name = myvalue; New PHP programmers [...]

Working with variables

A variable is a named placeholder for a value. You can use the var keyword to construct an expression that first declares a variable and then (optionally) initializes its value. How to declare a variable: var myName; How to initialize a value: var myName = “David Yin” Technically, you can declare a variable in JavaScript [...]