• Is it possible to extract and display data from a database table outside the WP database or is it a must that the table must reside within the WP database? If it’s possible what would be the code to access the exterior database if it’s on the same server? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • It would probably be easier to import the data from the other database into the wordpress database. Is it a one time thing? Or something that needs to be done over and over?

    You could always create variables for your new database connection, and connect to it from within your script.

    It’s just hard to give specifics without knowing what you are trying to do.

    Thread Starter btvbill

    (@btvbill)

    I did it by creating a new variable and that worked. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page Templates using tables outside the WP database?’ is closed to new replies.