Skip to content

Instantly share code, notes, and snippets.

View ashrafmisran's full-sized avatar

Muhammad Ashraf Misran ashrafmisran

View GitHub Profile
@ashrafmisran
ashrafmisran / mysqldump.php
Created April 30, 2018 04:12 — forked from micc83/mysqldump.php
Simple PHP script to dump a MySql database
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
$database = 'db';
$user = 'user';
$pass = 'pass';
$host = 'localhost';