Click here to Skip to main content
15,900,108 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,how to give database connection in html,
please send the code
Posted

AFAIK , HTML [^]can not connect to any database, you need to use any server-side technology like Asp.net[^], PHP[^] etc.

hope it helps :)
 
Share this answer
 
Comments
[no name] 2-Dec-11 1:18am    
my 5
Uday P.Singh 2-Dec-11 2:24am    
thank you Eduard :)
thatraja 2-Dec-11 10:22am    
5!
HTML is a markup language, it can not by itself be used for database access. You need some scripting language to do this.

If you like to do this using javascript, not good practice, take a look at the following discussion:
http://stackoverflow.com/questions/857670/how-to-connect-to-sql-server-database-from-javascript[^]
 
Share this answer
 
Comments
[no name] 2-Dec-11 1:19am    
my 5
thatraja 2-Dec-11 10:23am    
5!
Its also a frequent question here, browse it for clarification

Similar Question(s) @ Codeproject Search[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900