How to connect sql(database) to html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to connect sql(database) to html?

24th Oct 2017, 4:15 AM
Christine Bucayon
Christine Bucayon - avatar
3 Answers
+ 3
You can't connect SQL to HTML. You need to connect it to PHP using mysqli()
24th Oct 2017, 5:46 AM
Cool Codin
Cool Codin - avatar
+ 3
You need an interface between HTML and the database system, I would recommend you PHP, but there are alternatives, some people voted for Node.js. Look up for those two and go for the one you see fit your needs, purpose, and coding style. I recommend you first finish the web trilogy (HTML, CSS, JavaScript) then learn SQL before moving on to the database interface mentioned above, because without knowing SQL you'd ended up confused. Happy learning :) Hth, cmiiw
24th Oct 2017, 5:49 AM
Ipang
+ 1
thanks. it will help me so much
25th Oct 2017, 11:04 AM
Christine Bucayon
Christine Bucayon - avatar