/db71/all/dbconect.php 'crud' Connected Successfully"; } else { die("ERROR: Could not connect " . mysqli_connect_error()); } echo "
"; $link7 = mysqli_connect('176.9.84.87','patiltec_anand','Asd123!@#','patiltec_dbsndh'); if($link7 == true) { echo "'dbsndh' Connected Successfully"; } else { die("ERROR: Could not connect " . mysqli_connect_error()); } echo "
"; $link1 = mysqli_connect('176.9.84.87','patiltec_anand','Asd123!@#','patiltec_loginsystem1'); // Check for connection if($link1 == true) { echo "'loginsystem1' Connected Successfully"; } else { die("ERROR: Could not connect " . mysqli_connect_error()); } echo "
"; $link2 = mysqli_connect('176.9.84.87','patiltec_anand','Asd123!@#','patiltec_loginsystem2'); if($link2 == true) { echo "'loginsystem2' Connected Successfully"; } else { die("ERROR: Could not connect " . mysqli_connect_error()); } echo "
"; $link3 = mysqli_connect('176.9.84.87','patiltec_anand','Asd123!@#','patiltec_loginsystem3'); if($link3 == true) { echo "'loginsystem3' Connected Successfully"; } else { die("ERROR: Could not connect " . mysqli_connect_error()); } echo "
"; $link4 = mysqli_connect('176.9.84.87','patiltec_anand','Asd123!@#','patiltec_loginsystem4'); if($link4 == true) { echo "'loginsystem4' Connected Successfully"; } else { die("ERROR: Could not connect " . mysqli_connect_error()); } echo "
"; $link6 = mysqli_connect('176.9.84.87','patiltec_anand','Asd123!@#','patiltec_sdtemp'); if($link6 == true) { echo "'sdtemp' Connected Successfully"; } else { die("ERROR: Could not connect " . mysqli_connect_error()); } echo "

Display the list of all Databases:
"; // Connection of databases $link = mysqli_connect('176.9.84.87','patiltec_anand','Asd123!@#','patiltec_loginsystem3'); // Display the list of all database name $res = mysqli_query($link, "SHOW DATABASES"); while( $row = mysqli_fetch_assoc($res) ) { echo $row['Database'] . "
"; } ?>