?
Solved

How to connect my website to a database

Posted on 2014-11-20
6
Medium Priority
?
227 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 84

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 500 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 84

Accepted Solution

by:
Dave Baldwin earned 500 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 84

Expert Comment

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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Suggested Courses

764 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