Posts Tagged ‘variables’

PHP Classes

This item was filled under [ PHP & MySql, References ]

Object Oriented Programming ( OOP ) is programming with use of classes and objects. A class consists of constants, variables and methods ( functions to alter the class’s properties ). An object can be created from a class and can be altered by calling the class’s functions. Why would I use classes & objects? You [...]

Continue reading...

PHP POST Variables

This item was filled under [ PHP & MySql, References ]

A POST Variable is a special kind of variable that is used for handling form data. POST variables are created when a (POST type) form is submitted. They will contain all values of the form fields. Although a form can send its data through the POST method or the GET method. When using the POST [...]

Continue reading...

Tagged with: [ , , , , ]

PHP Arrays

This item was filled under [ PHP & MySql, References ]

An array is a special kind of ‘variable’. It consists of a group of sub-variables. Each sub-variable has, like any variable, a name ( which is called the key for a sub-variable of an array ) and a value. There is two ways to define an array. Manner 1 $my_array = array( “sub_var_1” => “value_1”, [...]

Continue reading...

Tagged with: [ , , ]

PHP Variables

This item was filled under [ PHP & MySql, References ]

Like most other programming languages, PHP as well uses variables. Variables are meant to store data ( for example an integer or a string ) into. You can give them a name and a value. Once you call them anywhere in your script, the value that’s stored inside the variable is automaticly used. In PHP [...]

Continue reading...

Tagged with: [ , ]