
Rajesh Kakkad - 2017-03-04 08:23:46 -
In reply to message 1 from Stefan Drugda
db2.php is included if you have separate file for mysqli connection to database.
In program I have shown
$con = mysqli_connect("localhost","my_user","my_password","my_db");
to connect to a database.
you can put that line into db2.php and whenever you have to connect to database, you can use syntax
include "db2.php";