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
![]() |
|
![]() |
|
![]() |
|
![]() |
Understanding and using web analytics.In recent years, website marketers were... Read More
From early days of www, the Internet sites that are... Read More
Today it seems everyone is jumping on the entrepreneur bandwagon,... Read More
Is your website Really useful?I had a 'rep' in yesterday... Read More
We've all seen those messages on some websites warning not... Read More
There are several reverse bid freelance sites out there. Beyond... Read More
Selecting the Perfect Domain NameThe first issue I have with... Read More
So your traffic is going through the roof yeah? It's... Read More
I recently helped my mom to launch a website (www.mom2me.com)... Read More
You've put up a website to promote a product or... Read More
If your company own one or more stores, you might... Read More
This is a growing concern amongst many business owners. Does... Read More
Is Your Web Site an Expense or an Investment?Why don't... Read More
Rosalind wants to share her inspirational poetry with a wider... Read More
My life's greatest passion is a safari hobby. And what... Read More
No matter what browser you may want to use, you... Read More
Fantastico is a 3rd-party cPanel add-on and can be purchased... Read More
There's been widespread speculation about the new legislation being introduced... Read More
After years of working with entrepreneurs who developed their first... Read More
Failure, just like success, is measured differently by each and... Read More
Every good Internet business understands the value of conversions versus... Read More
After planning the design and content of your website, it's... Read More
Keywords in Search Engine Optimizing and Search Engine Marketing are... Read More
Most interactive websites nowadays would require a user to log... Read More
With all of the factors involved in designing and building... Read More
Are you, like many other website owners, frustrated at the... Read More
Any new website competing on the internet, needs to take... Read More
Three way linking and concerns.For many years SEO experts were... Read More
If you don't have a web site yet, are thinking... Read More
Whether you have your own business already, or are looking... Read More
I recently received an unsolicited e-mail from some company offering... Read More
While most marketers are beginning to understand the critical importance... Read More
When I set up my website I felt paypal was... Read More
Every business needs to know how it is doing. That's... Read More
The Disability Discrimination Act says that websites must be made... Read More
Running an effective website is a continuous process. I have... Read More
The DDA (Disability Discrimination Act) states that service providers must... Read More
No matter the size of your business, having a web... Read More
Like any area of business your website needs some effort... Read More
Cost Effective Advertising. Online selling. Increased geopgraphic range. Wider... Read More
As a business you can't afford to ignore the Internet... Read More
An Introduction to Server Side IncludesBeginner? That's OK!While much has... Read More
"I have a small business with just a couple of... Read More
While creating a Web site may seem like... Read More
Every online entrepreneur I talk to is asking the same... Read More
Just like all things in life, the ways to run... Read More
I'm one of those people that always wanted a website,... Read More
Every small business owner knows that they need a website,... Read More
You have permission to publish this article electronically, in print,... Read More
Now that you have got your domain name registered, your... Read More
1. Many people are not getting good or complete advice.... Read More
When web content gets discussed on webmaster bulletin boards, the... Read More
Go to any internet marketing forum you want these days... Read More
An interesting eCommerce success factor that isn't precisely overlooked, but... Read More
Have you ever thought the secret behind the success of... Read More
The first thing you will have to deal building your... Read More
Everywhere you look these days, people are telling you that... Read More
So what do you do if need to get a... Read More
What happened on your website yesterday? What about last week... Read More
There are lots of HTML editors on the market, however,... Read More
Many of site owners still don't realize all advantages of... Read More
Everyone wants one.Everyone wishes they knew how to make one.SOME... Read More
Better Web Site ROIHow to increase your business profitability by... Read More
Server Side Includes (SSI) with ASP People often... Read More
With more and more countries around the world passing laws... Read More
Web sites are an Ongoing Part of Business.All too many... Read More
Web Development |