Posts Tagged ‘arrays’

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 GET Variables

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

A GET Variable is a special kind of variable that is created through the URL. They can be created by passing parameters via the URL. Take for example the following URL: http://mywebsite.com/somefile.php?var1=value1&var2=value2&var3=value3 When accessing the URL as shown above, there will be created a total of three GET variables: var1, var2 and var3 with the [...]

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: [ , , ]