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
![]() |
|
![]() |
|
![]() |
|
![]() |
Today it seems everyone is jumping on the entrepreneur bandwagon,... Read More
Setting up a website is the very first step of... Read More
I had a client say something to me the other... Read More
Just like all things in life, the ways to run... Read More
Can you imagine the hypocrisy of spending thousands of dollars,... Read More
This article was prompted by some customer support work I... Read More
Globalize Your WebsiteThe Internet has unlocked a wide array of... Read More
One of the biggest mistakes that most online retailers make... Read More
Thousands of people are now making a living online and... Read More
A lot of people these days are interested in getting... Read More
Profiles are one of the best kept secrets around regarding... Read More
The first thing you will have to deal building your... Read More
First, an eye opener. Making your fortune through affiliate programs... Read More
Knowledge is power.And undoubtedly, it is the key to making... Read More
"I am a writer, not a business-person. I don't want... Read More
We've all seen those messages on some websites warning not... Read More
An interesting eCommerce success factor that isn't precisely overlooked, but... Read More
Launching a new small business website is often a long... Read More
A website is like an information flow, with you as... Read More
1) A marketing necessityI still hear it said from time... Read More
Rosalind wants to share her inspirational poetry with a wider... Read More
Recently I was reviewing the keyword specific conversion rate data... Read More
Keywords in Search Engine Optimizing and Search Engine Marketing are... Read More
Making money with your web site is the dream and... Read More
Most interactive websites nowadays require data to be presented dynamically... Read More
More and more businesses are recognizing the importance of content... Read More
Installment 1Developing State-enabled Applications With PHPWhen a user is browsing... Read More
When you purchase a new item from a Yahoo! Store,... Read More
While creating a Web site may seem like... Read More
In the time that I have been using the Internet,... Read More
After planning the design and content of your website, it's... Read More
Many web developers today are starting to KISS their website,... Read More
How can we add Word Rich Content to our Websites... Read More
Web sites are an Ongoing Part of Business.All too many... Read More
Making a web site is easy. Making a good web... Read More
Server Side Includes (SSI) with ASP People often... Read More
Creating a content management system either from scratch,... Read More
Yahoo has long offered email, an online calendar, notes, bookmarks,... Read More
A website lets you put your products in front of... Read More
Before you start building your site, ask yourself "WHY?". Why... Read More
80% of your Web site is Maintenance!Once your Web site... Read More
If you ever want to create a state directory, article... Read More
QUESTION: Should I build and maintain my business Web... Read More
A company must earn and keep trust or sales don't... Read More
As increasing numbers of people search for information on the... Read More
There are many different traffic analysis tools, ranging from simple... Read More
Getting a Targeted Visitor to a website is a waste... Read More
Although there are significant differences among the various types of... Read More
Many executives and investors are skeptical that software products can... Read More
Through the explosive growth of the Web, companies have realized... Read More
An additional benefit of website accessibility is an improved performance... Read More
The needs of screen magnifier users are overlooked when implementing... Read More
Having an eye catching website is great, but are you... Read More
"How do I improve web site sales figures?" The CEO... Read More
I've heard several prominent web marketers mention in their classes... Read More
Cost Effective Advertising. Online selling. Increased geopgraphic range. Wider... Read More
Installment 1Developing State-enabled Applications With PHPWhen a user is browsing... Read More
One of the most important parts of establishing a new... Read More
If your company own one or more stores, you might... Read More
Every online entrepreneur I talk to is asking the same... Read More
Although designing a great web site is an important part... Read More
Research reveals three important facts:1) The Internet is one of... Read More
Whether you have your own business already, or are looking... Read More
While creating a Web site may seem like... Read More
The DDA (Disability Discrimination Act) states that service providers must... Read More
More and more non-profit organizations are developing websites to help... Read More
Web Development |