How to Build a Database Driven Web Site

If you ever want to create a state directory, article directory, dating site or link directory, you need to know about creating database driven web sites. This may seem like a daunting task at first, if you have never done it, however I was in the same boat as you. It is not as difficult as you think.

Benefits of building database driven web sites

-Store vast amounts of information about your products or services.

-Efficient data sorting and retrieval

-Complex queries and statistical analysis performed relatively easily

-Separate site design from site's content

-Create new pages on the fly without manually creating or editing new web pages

-Makes it easy for client to post content, update records without the need to know html or rely on a web developer.

-Advanced search capabilities

-Attract repeat visitors with fresh and constantly updated content.

-Update site information online without the need to upload web pages.

-Site maintenance greatly reduced.

-Enhance web interactivity

Requirements

MySQL - to retrieve information from a database, you first need to have a database. That's where MySQL comes in. MySQL is a relational database management system, or RDBMS. It's a software package that is very good at organizing and managing large amounts of information. MySQL also makes that information readily accessible by using a server-side scripting language like PHP.

PHP - this is a server-side scripting language. With PHP installed, your Web server will be able to read a new file (called a "PHP script") that can retrieve information instantly from a database and insert it into a web page before sending it to the browser that requested it. PHP is completely free to download and use.

Check with your current Web host. Make sure they have already installed MySQL and PHP on your Web server. Most web hosting companies already have it installed. If not find a web host that provides this service.

Steps to building a database driven web site:

You will be building a link directory site using a mySQL database and the WSN Links Script (a PHP script). Here's an example of the "Colorado Business Directory Site" that was built, based on following the 7 steps below:

http://www.hereiscolorado.com

1. Check that your web host has PHP 4.10+ (or PHP 5) and MySQL 3+ installed on the server.

2. To create the mySQL database on the web server:

-login to the cpanel of your server ie domainname/cpanel with your user name and password.
-click on 'MySQL Databases' icon.
-enter database name
-click 'add db'
-click on 'go back'
-under 'Users' enter user name and password for database
-click 'add user'
-click on 'go back'
-click on 'add user to database'

You should now get the reply that your database installation was successful.

3. Download the PHP script files to your desktop at: WSN links - http://www.isitebuild.com/cgi-bin/a/t.cgi?wsnlinks

4. Extract files from the ZIP folder and save them to a folder on your computer.

5. Upload all the extracted files to your hosting space

6. Set the correct permissions for your files.

7. To complete the installation and to customize the script, read the manual at:

http://www.isitebuild.com/cgi-bin/a/t.cgi?wsnlinks

You can continue to customize or edit your site online by accessing the admin panel within your web site.

Adding, sorting, retrieving, searching data, creating new pages, links etc can now easily be accomplished.

Congratulations!... you successfully have built yourself a database driven web site.

Herman Drost is the Certified Internet Webmaster (CIW) owner and author of http://www.iSiteBuild.com Affordable Web Site Design and Web Hosting. Subscribe to his "Marketing Tips" newsletter for more original articles. subscribe@isitebuild.com. You can read more of his in-depth articles at: http://www.isitebuild.com/articles

Why Every Small Business Owner Needs Two Websites

Every small business owner knows that they need a website, right? Well the truth is... Read More

Web Coach Tip: What You Should Know About DIY Web Sites

Recently, a friend asked "What's the deal with those DIY companies that advertise "How to... Read More

Stop Losing Precious Web Site Traffic to the Dreaded World Wide Web Black Hole

You work hard to build traffic to your web page. If you are not doing... Read More

The 5 Biggest Mistakes Almost All Web Designers Make

Huge Mistake #1: Creating a Website with Flash -- Did you know in a recent... Read More

Ever Wondered What Challenges Other People With Their Web Site?

Have you ever wondered what challenges are faced by other webmasters and owners in the... Read More

The Birth of a Professional Web Site

The Internet has opened a whole New World of opportunity for all of us. With... Read More

Your Website Reflects Your Business

Some left shoes are in isle 5, while the right shoes are in isle 3.... Read More

How Web Templates Are Helping Online Businesses to MultiplyTheir Income

Web templates by nature are created to aid and ease the strenuous process of a... Read More

Create Huge Income From Your Web Site - 10 Easy Ways

The cost of setting up a web site is dirt cheap nowadays. You can register... Read More

Why Should Your Business Go O.N.L.I.N.E.

Optimize your time. How much time each day must you devote to paperwork, scheduling and... Read More

The Number 1 Reason Most Websites Fail

Failure, just like success, is measured differently by each and every one of us. What... Read More

Ten Ways NOT to Set Up a Website-based Service Business

1. As the first step, "Hire a web designer."First create a storyboard of your website,... Read More

Why Is No-one Buying From My Website?

Are you, like many other website owners, frustrated at the amount of time, effort and... Read More

Streamline your Business Website with a Content Management System

I talk with so many people who have small businesses and would like to have... Read More

Optimal Website Design

Optimal website design is the art of logical navigation.It will offer consistency while providing useful,... Read More

Guide to Internet Business - Design and Content

After deciding what kind of internet business you want to do, it's time to start... Read More

A Website Is Not Enough

Your ObjectiveYour small business needs an appealing and professional website but that is just the... Read More

Web Measurement: What You Don?t Know Would Make A Great Book

"What's in it for me?" you ask. "Why should I measure how people use my... Read More

Benefits Of Making Your Website Accessible To Disabled Users ? Part 2: The Business Case

The Disability Discrimination Act states that service providers must not discriminate against disabled people. A... Read More

Now You Have a Web Site - Have You Ever Heard of Accessibility?

An accessible Web site is easily approached, easily understood, and useable for all. There are... Read More

10 Simple Steps: Its Magic If You can E-Mail You can Update Your Web Page Dynamically

Dynamically Update Your Web Pages Via E-MailIf you can Send an E-Mail you can Dynamically... Read More

7 Killer Ways To Increase Your Online Sales

Every online entrepreneur I talk to is asking the same question, "How do I increase... Read More

The Cost Of A Web Site

Just starting out, you can start with a simple informational site, which is all most... Read More

Three Things Every Website Should Do

When I started my company in 2002, I knew I needed to have a website.... Read More

Web Site Promotion: How To Advertise Your Website For Profits

Making money with your web site is the dream and goal of millions of webmasters... Read More

Web Accessibility: The Basics

What is web accessibility & why is it important?Web accessibility is about making your website... Read More

Business Website Building Do?s and Don?ts

First, using a lot of web graphics, flash, banners and pictures on your home page... Read More

Selling Your Site: Outsource or Homemade?

To the starting internet entrepreneur, there is nothing more discouraging then the erroneous realization that... Read More

4 Rock Solid Reasons For Building Your Own Website

What is the point of having a website, you may ask, when the affiliate programme... Read More

Getting One-way Inbound Links: the 5 Major Strategies

With search engines putting a damper on direct reciprocal links, the hunt for the elusive... Read More

Newsletter Management Using PHP w/o mySQL for Beginners

Let's begin by setting some limits. If you're like me, you like to keep it... Read More

Why You Really Need Your Own Web Page In-order To Make Online Business!

How many Web Sites did you stumble over telling you that you don't actually need... Read More

Develop a Solid Website Presence

Starting an internet business can be confusing to non-veterans. The internet is the new world... Read More

Web Success Secret - Keep Your Visitors Interested

Visitors to your site come looking for information or solutions to their problems. They will... Read More

Top 7 Reasons Why Your Business Needs a Website

A website provides invaluable advantages for businesses who have one.7 reasons why your business needs... Read More

Creating Websites that Cater to Exam Preparations

One of the things that Internet excels is disseminating information and knowledge across many brains... Read More

Why A Simple Counter is Never Enough for Your Website

A simple website stats counter is not enough if you are really interested in finding... Read More

Trust Us! Sending Credible Messages

A company must earn and keep trust or sales don't happen. Imagine that last Sunday,... Read More

CPanel Fantastico - Features and Benefits

Fantastico is a 3rd-party cPanel add-on and can be purchased and added to the standard... Read More

Having a Portfolio on the Internet Can Help you Infiltate the Workforce

If you're an up and coming graphic/web designer just out of university, you'll know it's... Read More

Achieving Differentiation With Your Website

Internet Marketing is not a miracle marketing strategy ? competition still exists and you... Read More

Give Your Business a Cash Infusion

Whether you have your own business already, or are looking for a way to cash... Read More

Make Your Web Site Stand Out

When visitors add your web site to their Favorites or bookmark your site, what shows... Read More

Web Accessibility Myths

With more and more countries around the world passing laws about blind and disabled access... Read More

Build a Web Site that Works...Even for a Safari Hobby!

My life's greatest passion is a safari hobby. And what would that be, you ask.... Read More

Introductory PHP For Non-Programmers

When you started reading this sentence you assumed lo acabar?a en ingl?s. However, I didn't... Read More

Wheres Your Focus, Money or Customer?

Is your website Really useful?I had a 'rep' in yesterday who was telling me he... Read More

Adding Word Rich Content to Your Website

You have permission to publish this article electronically, in print, in your ebook or on... Read More

So You Want To Have A Website

So you want to have a website. You have gone on to the internet and... Read More

The Secret Benefit Of Accessibility: Part 2 - A Higher Search Engine Ranking

An additional benefit of website accessibility is an improved performance in search engines. The more... Read More