Skip to content

Instantly share code, notes, and snippets.

@prasanth22
prasanth22 / pdocrash.php
Created April 19, 2020 04:28 — 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
@prasanth22
prasanth22 / webdev_online_resources.md
Last active November 24, 2020 05:31 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)