database connection file in php
this code use only local server
This live server for used.
This databse connection file any file in include for this code
OR![](https://www.blogger.com/img/transparent.gif)
![](https://www.blogger.com/img/transparent.gif)
This databse connection file any file in include for this code
![](https://www.blogger.com/img/transparent.gif)
![](https://www.blogger.com/img/transparent.gif)
PHP,HTML,CSS,JS,Wordpress,Blogger,Seo Tools,Domain,Hosting And Others Support
database connection file in php
this code use only local server
<?php $conn =
mysqli_connect('localhost','root',
'','tablename');?>
This live server for used.
<?php $connection =
mysqli_connect('localhost','database user',
'database password','tablename');?>
<?php
require_once('connection.php');
?>
This databse connection file any file in include for this code
<?php include("connection.php"); ?>