Follow Us!

How to Return MySQL Results to a Table

Posted by on Mar 30, 2009 in PHP Tutorials, Web Development Tutorials | 23 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 | 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

How to Get a Users Geo Location?

Posted by on Feb 22, 2009 in PHP Tutorials, SEO Tutorials, Web Development Tutorials | 15 comments

Every wonder how all of those dating ads know that you are looking for hot girls near (insert your city here)? Well if you are a complete...

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

Creating Checkboxes Based on SQL Results

Posted by on Sep 21, 2008 in PHP Tutorials, Web Development Tutorials | 10 comments

This tutorial will walk you through creating a database of categories and then using the categories in the database to create a series of checkboxes. This could be used for forum or board that will allow them to select a category of their story/comment.

Read More

Simple PHP Website Templates

Posted by on Aug 25, 2008 in HTML Tutorials, PHP Tutorials, Web Development Tutorials | 25 comments

So you have a basic HTML site with 100 pages, what happens when you want to change the title tag? Well, if you aren’t using PHP includes, you will have to update each file. Wouldn’t it be nice if you could make the change to one file and it would update every page? That is what we will accomplish with our basic PHP template tutorial.

Read More