Follow Us!

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

Editing MySQL Data Using PHP

Posted by on Mar 13, 2009 in Database Tutorials, MySQL Tutorials, PHP Tutorials, Web Development Tutorials | 65 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

Convert a MySQL date field using PHP Functions

Posted by on Feb 20, 2009 in Database Tutorials, PHP Tutorials, Web Development Tutorials | 4 comments

Today I am going to show you how to convert data returned from a MySQL database that was store as a date data type into a user friendly format. To do this you can take two different approaches. One way to do it is to use the function date_format() function in your query. The other way to to modify the date after it is returned.

Read More

Configuring Authentication on MS SQL 2008

Posted by on Nov 22, 2008 in Database Tutorials, Microsoft SQL 2008 | 6 comments

This tutorial will walk you through configuring your SQL server with credentials for applications and users to connect with. This will allow you to determine who has what type of access as well as how they can update the tables in the database.

Read More