Connecting to Database
Create and connect to Database
Install mysql database on your localhost or Server
Import admin_martivia.sql file available in project root folder
Delete admin_martivia.sql
config.php
db_open.php
$host='localhost';
$name='admin_martivia';
$pass='#Martivia#123';
$db="admin_martivia";
$con= mysqli_connect($host,$name,$pass,$db);
Index.php
include("db_open.php");
mysqli_set_charset($con,"utf8");
include("db_close.php");
Updated almost 2 years ago