Home

I almost fear putting this kind of post together as it’s bound to pull the fanatics (in the negative sense of the word) out of …

Step 1. The Setup
MySQL Table
Let’s begin by creating a database table.

CREATE TABLE `users` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`oauth_provider` varchar(10),
`oauth_uid` text,
`username` …

MVC for Beginners

Tutorial Details

Difficulty: Beginner
Architecture: MVC

Model-View-Controller (MVC) is probably one of the most quoted patterns …

Working with Database
Create a database with a specified name if it does not exist in database server
CREATE DATABASE [IF NOT EXISTS] database_name
Use database or …

SQL UNION allows you to combine two or more result sets from select statements into a single result set. The usage of using SQL UNION …

MySQL Advanced Queries and Subqueries

In the real database programming task, you usually does not select data from just one table because of the normalization process (a big table is …

Aggregate Functions in MySQL

In some cases, the information we need is not actually stored in the database but we can retrieve it by computing in some ways from …

Tags:

mysql_fetch_array

mysql_fetch_array: Why Use It?
Do you know what is returned when you used the mysql_query function to query a MySQL database? It isn’t something you …

Copyright © 2010 - Mark ( +27 79 9111 855 )