Connecting A Website To a DataBase

Reply

Join Date: Nov 2007
Posts: 62
Reputation: tactfulsaint is an unknown quantity at this point 
Solved Threads: 0
tactfulsaint tactfulsaint is offline Offline
Junior Poster in Training

Connecting A Website To a DataBase

 
0
  #1
Mar 6th, 2008
Hello everyone,
I need Help connecting my website to a database.

i could use anyones help.
Thanks
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 38
Reputation: LeBurt is an unknown quantity at this point 
Solved Threads: 1
LeBurt LeBurt is offline Offline
Light Poster

Re: Connecting A Website To a DataBase

 
0
  #2
Mar 6th, 2008
I'll help, what's your issue?
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 62
Reputation: tactfulsaint is an unknown quantity at this point 
Solved Threads: 0
tactfulsaint tactfulsaint is offline Offline
Junior Poster in Training

Re: Connecting A Website To a DataBase

 
0
  #3
Mar 6th, 2008
i have a website that i wanna connect to a database but i dont know how to link it to my database.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 38
Reputation: LeBurt is an unknown quantity at this point 
Solved Threads: 1
LeBurt LeBurt is offline Offline
Light Poster

Re: Connecting A Website To a DataBase

 
0
  #4
Mar 6th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 10
Reputation: jwaldron82 is an unknown quantity at this point 
Solved Threads: 0
jwaldron82 jwaldron82 is offline Offline
Newbie Poster

Re: Connecting A Website To a DataBase

 
0
  #5
Nov 15th, 2008
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...
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 38
Reputation: LeBurt is an unknown quantity at this point 
Solved Threads: 1
LeBurt LeBurt is offline Offline
Light Poster

Re: Connecting A Website To a DataBase

 
0
  #6
Nov 16th, 2008
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC