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
With the New Year upon us yet again, it's time... Read More
Installment 1Developing State-enabled Applications With PHPWhen a user is browsing... Read More
Why do some sites succeed while the vast majority of... Read More
Customer service questionnaires can help your clients better understand their... Read More
One of the most useful features offered by some web... Read More
"I am a writer, not a business-person. I don't want... Read More
Three way linking and concerns.For many years SEO experts were... Read More
Q. Hey, Cathy: I'm just setting up a website. What... Read More
People often come to me in a state of crisis... Read More
I recently received an unsolicited e-mail from some company offering... Read More
When I set up my website I felt paypal was... Read More
Web sites are an Ongoing Part of Business.All too many... Read More
If you are looking for creating your online presence you... Read More
If you don't have a web site yet, are thinking... Read More
Failure, just like success, is measured differently by each and... Read More
How popular is online shopping? And is there room for... Read More
What is web accessibility & why is it important?Web accessibility... Read More
Internet has opened a whole new world for web developers... Read More
Conceptualize, Build and Publish a Web site - What's required... Read More
Even with the steady growth of the World Wide Web,... Read More
Everywhere you look these days, people are telling you that... Read More
Making maximum profit from your law firm website is important,... Read More
Your business website is a critical aspect of being able... Read More
If you're fairly new to the Internet scene, you may... Read More
Today it seems everyone is jumping on the entrepreneur bandwagon,... Read More
Although CSS layouts have been around for years, they haven't... Read More
With all of the factors involved in designing and building... Read More
Dan Kennedy once said that if you can't make money... Read More
How do you decide on the content, products and or... Read More
1) Data CaptureOne easy way to collect e-mail addresses and... Read More
Many web developers today are starting to KISS their website,... Read More
Just like all things in life, the ways to run... Read More
It may seem like the publishing industry's equivalent of Beanie... Read More
Looks like every client wants a Flash site these days... Read More
Starting a business online is no longer as difficult as... Read More
Now that you have got your domain name registered, your... Read More
After having decided to start a business, the next thing... Read More
Part of the success of most home-based businesses is their... Read More
Whether you have your own business already, or are looking... Read More
If you are like me you have wanted to build... Read More
Does your website have a links/resources page?Do you exchange reciprocal... Read More
I still remember it very clear ... It was almost... Read More
Do you make your website just to entertain yourself or... Read More
There are several reverse bid freelance sites out there. Beyond... Read More
There was a time not long ago when setting up... Read More
cPanel is a control panel for your website and allows... Read More
One of the things that many people overlook when building... Read More
I had a client say something to me the other... Read More
Many executives and investors are skeptical that software products can... Read More
How popular is online shopping? And is there room for... Read More
1. Many people are not getting good or complete advice.... Read More
What to put your the website if you are an... Read More
Web accessibility has so many benefits that I really do... Read More
Appealing to others is really important when you have a... Read More
Yahoo has long offered email, an online calendar, notes, bookmarks,... Read More
You have seen those web pages where they have the... Read More
Here's something you may never have thought of before:If I... Read More
Let's begin by setting some limits. If you're like me,... Read More
So what do you do if need to get a... Read More
Just like all things in life, the ways to run... Read More
Your web site will be your window to the world.... Read More
Server Side Includes (SSI) with ASP People often... Read More
Design and layout can make your communication come alive and... Read More
If you have your own business website and you are... Read More
The popular search engine Google indexes over 8 billion websites.... Read More
Developing a website with content that entices visitors to return... Read More
Web Development |