4 Replies - 452 Views - Last Post: 03 January 2011 - 06:00 AM

#1 Thiyagarajan.k  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 29-December 10

html

Posted 29 December 2010 - 05:48 AM

how to connect html with back end database?
Is This A Good Question/Topic? 0
  • +

Replies To: html

#2 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3402
  • View blog
  • Posts: 9,617
  • Joined: 08-June 10

Re: html

Posted 29 December 2010 - 05:57 AM

by using a programming language. HTML itself is incapable of doing so.
Was This Post Helpful? 0
  • +
  • -

#3 JITHU  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 62
  • View blog
  • Posts: 201
  • Joined: 02-July 07

Re: html

Posted 29 December 2010 - 06:04 AM

I don't think that HTML can directly connect to a database system.

If you're into web development, you need to use a server-side programming language/technology for that like PHP or ASP.net, etc.
HTML is just a markup language to present your data to the user.

Usually these languages have their own libraries or the database system comes with a binding for it.
Was This Post Helpful? 0
  • +
  • -

#4 Codin  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 6
  • View blog
  • Posts: 45
  • Joined: 31-March 10

Re: html

Posted 02 January 2011 - 06:45 PM

I completely agree but the good news is you can embed PHP into your HTML and PHP is easy to learn and there is a lot of great help with PHP right here on Dreaming in Code.
Was This Post Helpful? 0
  • +
  • -

#5 mhollis  Icon User is offline

  • D.I.C Head

Reputation: 16
  • View blog
  • Posts: 61
  • Joined: 10-April 10

Re: html

Posted 03 January 2011 - 06:00 AM

View PostCodin, on 02 January 2011 - 07:45 PM, said:

I completely agree but the good news is you can embed PHP into your HTML and PHP is easy to learn and there is a lot of great help with PHP right here on Dreaming in Code.


That may not be a very good method.

Adding a call to an external php file is probably the best way to use php within a website, as the code is much easier to maintain. If you have a lot of work that you are doing in php, it's best to keep that out of a web page.

But the answer to the OP's question is above. You need server-side code in order to access a database.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1