How to connect any html program with sql database?
I want to know how to add any html program with sql database. So please tell me
All I can tell you is: I do not understand the question! If you meant "how do I connect an html program to an SQL database?", the answer is "with PHP".
If that is not what you meant, please explain what you are trying to do...
Connect html with database
I am saying that i write a program in html. Create a form and want to if i click a button than all deta of form save in the database. So its possible or not only in Html
Originally Posted by jedaisoul
Last edited by alendonald; 07-31-2013 at 06:23 AM.
That is not possible in html. You need to use php, or another server side language, to interface to the sql database.
You will need to learn some server side language like PHP, ASP.net, JSP etc to connect your page with a database.
This is what I would like to suggest because php, java and .net can understand server side scripts.
Originally Posted by nancyandroid
Thanks for all to give this information.
you can try to use JDBC to connect sql database .
Connection con = DriverManager.getConnection("jdbcdbc:stu");
Statement stmt = con.createStatement();
String sql = "select * from student ";
ResultSet rs = stmt.executeQuery(sql);
*** advertising message deleted by moderator - please do not spam this site ***
Last edited by jedaisoul; 09-22-2015 at 02:44 AM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread