Solved

How to connect my website to a database

Posted on 2014-11-20
6
222 Views
Last Modified: 2014-11-21
Hi,
How to connect my website to a database. I quess f.e. datingsites has a database with all of its members.
How do they do it? What are my options, What is populair, are there examples on the internet or on EE.

Greetings, Peter Kiers
0
Comment
Question by:peterkiers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40456766
HTML is not capable of doing that because it is not a 'programming' language but a 'page description' language.  You have to use a server side programming language like PHP or ASP.NET.  There are a gazillion examples on the internet but you will have to learning programming or hire someone to do it.
0
 
LVL 1

Author Comment

by:peterkiers
ID: 40456768
So its possible to create my website in html & css and use php or asp to connect to a database. And what about xml?
0
 
LVL 9

Assisted Solution

by:Shahzad Fateh Ali
Shahzad Fateh Ali earned 250 total points
ID: 40456776
Yes, you can use php or asp to connect to your website.

Your website will remain in html/css but in order to fetch data from the database you will use php/asp. You can to data manipulation using php/asp.

XML is not capable of connecting database.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 40456777
XML is just a data format.  It is not generally used to display info from a database on a web page.  It's just not needed.  

PHP or ASP will be part of your web site.  They will be used to connect to the database and to generate the HTML for the page display.
0
 
LVL 1

Author Comment

by:peterkiers
ID: 40456784
Thank you all for the information. Greetings, Peter Kiers
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40456821
You're welcome.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question