+ 1

how do I connect my HTML page to an SQL database?

3rd Jan 2021, 1:07 PM
Dawodu Felix
Dawodu Felix - avatar
2 Answers
+ 6
You can use XAMPP/WAMP/MAMP and connect it to MySQL by going to phpmyadmin. For that use scripting languages like php For more details see this: https://www.raghwendra.com/blog/how-to-connect-html-to-database-with-mysql-using-php-example/
3rd Jan 2021, 3:04 PM
Aditya
Aditya - avatar
+ 1
You can not use HTML with a SQL database directly. If you want to get data from a database and display it in your HTML page you need a Backend program written in php or node.js.
3rd Jan 2021, 3:49 PM
Joyce Bissa
Joyce Bissa - avatar