$seconddb; no longer working
-
In the middle of developing a new site for a client, it was moved to a new, cloud-based package from the same host.
Since the move, two sections that are dependent upon pulling content from the original, non-wordpress db, are functioning.
Nothing else has changed. I’ve confirmed with the host that “localhost” remains; otherwise that won’t provide any assistance.
Creating a new user & pwd has not fixed the issue.
Thoughts anyone???
Below is the code in the functions.php file
function seconddb() {
global $seconddb;
$seconddb = new wpdb(usr, pwd, db_name, localhost);
}
add_action(‘init’, ‘seconddb’);The page I need help with: [log in to see the link]
The topic ‘$seconddb; no longer working’ is closed to new replies.