I am fairly new with WordPress plugins so please be kind =)
My plugin is basically just a WordPress filter that replaces a certain HTML comment string with a table containing data from my separate database. Anywhere I put this comment in my pages will result in this table being displayed.
My problem is that when my php code connects to my separate database, WordPress then attempts to access its tables from within my database as well, resulting in errors (because its tables are not in my database).
What is the best architectural approach to take to avoid this issue. I guess I could put my tables into the WordPress database, but would prefer not to have to.
Thanks in advance.