Skip to content

Instantly share code, notes, and snippets.

@merajjahir
merajjahir / README.md
Created March 6, 2024 15:29
The script is to make the local developement faster .. it really sucks when i have to create new db and new user each time i start a new project ..

API Reference

Options

   -h, --help  Display help message

| Parameter | Type | Description |

@merajjahir
merajjahir / pdocrash.php
Created April 22, 2021 19:05 — forked from bradtraversy/pdocrash.php
PDO & Prepared Statements Snippets
<?php
$host = 'localhost';
$user = 'root';
$password = '123456';
$dbname = 'pdoposts';
// Set DSN
$dsn = 'mysql:host='. $host .';dbname='. $dbname;
// Create a PDO instance