Sample Code
Arrays : Changing cases
This form of array declaration allows one to change the case from uppercase to lowercase and vice versa. The syntax goes as follows: The array…
Arrays
Arrays are what tables are to C-based programming languages and what databases are for SQL-based languages. Arrays or tables as they are sometimes called can…

When to Use a PHP Header Redirect
PHP, as well as other programming languages, have the ability to interact directly with the HTTP Headers. The HTTP Headers are a separate part of…
Using Three PHP Functions to Work With MySQL Databases
If you want to be considered an effective and avid PHP programmer, then there are some topics in the language that you should without a…

PHP Beginner: Create a Random Text Generator
When creating a website, it is often necessary to display dynamic text on the page. This text will change every time the page is loaded.…

Why Use the Universally Accepted PHP Start & End Tags?
Believe it or not, but there is PHP programming code that will not work on every installation. This is often a big problem for the…
Array Count Values
The array_count_values() function returns an array which contains the keys of the original array’s value and the value is the number of occurences. A sample…
The Easiest Way to Add a Date From PHP to MySQL
Often you will be required to store a date in MySQL. Either upon an update of an existing record, or on a fresh insert of…
Array Combine
This function combines two arrays where the first array is treated as the key and the second array as the contents of the said table.…
Embedding Comments
Now, to make you a better programmer we all know the value of comments. This allows you to understand the code that you have written…


