0
Hi Ishan Agrawal, I did some searching around and found a source that explains how to communicate & connect Java with MySQL. https://stackoverflow.com/questions/2839321/connect-java-to-a-mysql-database To connect HTML and MySQL? This is not possible.. You need to work with PHP to communicate with MySQL. $servername = "localhost"; $username = "username"; $password = "password"; $databassname = "dbname"; $conn = mysqli_connect($servername, $username, $password, $databasename); 1. mysqli_connect 2. mysqli_query 3. mysqli_fetch_array 4. mysqli_close 1. make the connection and select the database 2. perform the query on the table 3. print out the data 4. close the connection //_ Source to connect and select MySQL with PHP https://www.w3schools.com/php/php_mysql_connect.asp https://www.w3schools.com/php/php_mysql_select.asp
7th Sep 2018, 9:52 AM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar