Created
February 21, 2014 07:41
-
-
Save stefanbc/9130278 to your computer and use it in GitHub Desktop.
Custom database connection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Create a new database connection | |
$customdb = new wpdb(USERNAME, PASSWORD, DATABASE, 'localhost'); | |
$customdb->show_errors(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment