Solved

How to connect my website to a database

Posted on 2014-11-20
6
211 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
  • 3
  • 2
6 Comments
 
LVL 82

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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 82

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 82

Expert Comment

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

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now