943,754 Members | Top Members by Rank

Ad:
Mar 6th, 2008
0

Connecting A Website To a DataBase

Expand Post »
Hello everyone,
I need Help connecting my website to a database.

i could use anyones help.
Thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
tactfulsaint is offline Offline
75 posts
since Nov 2007
Mar 6th, 2008
0

Re: Connecting A Website To a DataBase

I'll help, what's your issue?
Reputation Points: 10
Solved Threads: 1
Light Poster
LeBurt is offline Offline
38 posts
since Mar 2008
Mar 6th, 2008
0

Re: Connecting A Website To a DataBase

i have a website that i wanna connect to a database but i dont know how to link it to my database.
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
tactfulsaint is offline Offline
75 posts
since Nov 2007
Mar 6th, 2008
0

Re: Connecting A Website To a DataBase

Hmm, that's a simple question that requires a long answer. Here's a few pointers.

1) First, HTML alone does not allow linking a website to a database. You need another language in between that will interface with the database and produce the HTML code on the fly using the query results. For example, you have a list of students in your database along with exam results and you want to post that list on a web site, in a table. The "middle language" would send the query to the database and fetch the results. Then, it would create your HTML tags (<table><tr><td> etc.) and form a valid HTML page with the results inside.

2) There are many "middle languages" available, the most popular (I think) being PHP. It's easy to install and will run on Windows, Linux and OS X all the same. It will interface with all of the most popular database management systems such as MySQL, PostgreSQL, MS SQL, etc.

3) Read read read. Nothing you get you started quicker than a good book. I recommend O'Reilly's Learning PHP and MySQL which was of great use to me.

Hope this helps.
Reputation Points: 10
Solved Threads: 1
Light Poster
LeBurt is offline Offline
38 posts
since Mar 2008
Nov 15th, 2008
0

Re: Connecting A Website To a DataBase

What if you are using Microsoft Access as the database package.. what scripting Language does that require when linking your database to your website?.... or Oracle...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jwaldron82 is offline Offline
10 posts
since Nov 2008
Nov 16th, 2008
0

Re: Connecting A Website To a DataBase

jwaldron82:

It is incorrect to assume that the choice of a database system "requires" a scripting language. In fact, in many cases a scripting language will support many database systems. For example, PHP will support mySQL, PostgreSQL, Oracle and even Access.

In an ideal world you are free to choose the scripting language and the database system independently. In the real world, you are sometimes restricted as you suggest by one or the other (in your case, you appear restricted to using Access). That will of course influence the choice of the other. As far as I know, Access is supported by most scripting languages through ODBC, which is like a driver for databases. Any scripting language that supports database connections through ODBC should be able to connect to Access.

PHP and ODBC: http://ca.php.net/odbc
Reputation Points: 10
Solved Threads: 1
Light Poster
LeBurt is offline Offline
38 posts
since Mar 2008
May 31st, 2010
0
Re: Connecting A Website To a DataBase
On a related note. I'm trying to upload buddypress visitor maps to my website. Unfortunately, this requires uploading geolitecity.dat which is a 30mb file. I am on byethost which has a file upload size limit of 10mb. Therefore I have uploaded the file to an external website here.

http://h1.ripway.com/markhahnel/GeoLiteCity.dat

Is there anyway to link the file to the site so that the plugin can run correctly.

Thanks for your time,
Mark
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mhahnel is offline Offline
4 posts
since May 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Database Design Forum Timeline: PostgreSql
Next Thread in Database Design Forum Timeline: Database design recommendation: contacts database





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC