Connect to different database using wpdb

$mydb = new wpdb('username','password','database','localhost');

Comments

Leave a Reply