0
How can I connect a html page with a database??
I need to connect html or javascript to a database but I don't know. How can I do it???
6 Answers
+ 1
Is it a MYSQL database?
+ 1
Well you could use PHP to connect to the database and run what ever queries you require.
https://www.w3schools.com/php/php_mysql_connect.asp
Once you have connected to the DB, you could include a php page which has an sql statement, SELECT * FROM table name
Then echo out the results!
0
Yes, or anyone else
0
Install xammp and google about it, oh you need to learn php first too.
0
Use the Force.
0
ok, thanks everybody