Access non-WP tables in db
-
I have extra information for each one of my custom post types stored in another DB. The queries I am making to that DB are breaking plugins so I thought I would import that DB’s tables into the WP DB.
Apparently I cannot access those tables with $wpdb. I’ve followed the instructions on the $wpdb class codex page and several other posts I’ve found but with no luck. I would like to not have to use custom fields for all of this extra info so the DB seems the best option.
Here is my function:
[Code moderated as per the Forum Rules. Please use the pastebin]Any help is greatly appreciated 🙂
Thanx,
Daniel
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Access non-WP tables in db’ is closed to new replies.