PHP Classes

File: config.php

Recommend this page to a friend!
  Classes of ganesh kavhar   PHP Export MySQL Query to Excel   config.php   Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: Configuration values to access the MySQL database
Class: PHP Export MySQL Query to Excel
Download an Excel file from MySQL query results
Author: By
Last change:
Date: 9 months ago
Size: 304 bytes


Class file image Download



define('DB_PASS' ,'');

define('DB_NAME', 'empdata');

$con = mysqli_connect(DB_SERVER,DB_USER,DB_PASS,DB_NAME);

// Check connection

if (mysqli_connect_errno())


"Failed to connect to MySQL: " . mysqli_connect_error();