Access a MySQL Database Using PDO

Posted by on Nov 2, 2010 in Database Tutorials, MySQL Tutorials, PHP Tutorials, Web Development Tutorials | 2 comments

This tutorial will show you how to access a mysql database using the PHP Data Objects interface, also known simply as PDO. One big...

Read More

Referential Integrity with MySQL

Posted by on Dec 3, 2009 in Database Tutorials, MySQL Tutorials | 15 comments

Referential Integrity is when the rows from one table are “cross-referenced” and verified with those in another table. This tutorial will walk you through using MySQL to enforce this rule.

Read More

Downloading and Installing Heidi SQL

Posted by on Nov 24, 2009 in Database Tutorials, Windows Tutorials | 32 comments

Recently, John and I have been doing a lot of database work using MySQL and have had to connect to several large databases and manage them correctly. This can be a daunting task without a tool to easily do so. This is where Heidi SQL comes in. This tutorial will walk you through downloading, installing, and configuring Heidi SQL to use against your MySQL databases.

Read More

How to Return MySQL Results to a Table

Posted by on Mar 30, 2009 in PHP Tutorials, Web Development Tutorials | 26 comments

This question has been asked several times lately and I wanted to clear this up. This is a very easy concept once you get it down. In order to display the results from a MySQL query into a table will will store the results in an array and then echo out each row in a while loop.

Read More

Editing MySQL Data Using PHP

Posted by on Mar 13, 2009 in Database Tutorials, MySQL Tutorials, PHP Tutorials, Web Development Tutorials | 68 comments

We have had a few tutorial that show how to display and add data to a MySQL database. Now I am going to show you how to edit a row in your database. In previous examples we setup a table whcih contains: ID, FName, LName and PHON. We will be retreiving the data, making changes, then updating the row in the database. This tutorial is design for the user to update there own information so we will only be editing row for this user.

Read More