Forums

mysql_connect to another database... (3 posts)

  1. zurdog
    Member
    Posted 5 years ago #

    In wordress, I setup a template page that has specific PHP code to connect to another database. However, when that page processes, once it hits the mysql_connect code, it stops executing the rest of the script. No errors, I used the or die command... nothing. It just stops processing any html or php once it tries to establish another connection.

    Any ideas on how to work around this? I tried using mysql_close but that didn't work either.

  2. 4mica
    Member
    Posted 5 years ago #

    I think I had a similar issue. Take a peek here:

    http://wordpress.org/support/topic/90340

  3. Samuel B
    moderator
    Posted 5 years ago #

    Does your host allow outside db connections?

Topic Closed

This topic has been closed to new replies.

About this Topic