Second database connection
I’ve included my WP links list on another page of mine. In order to do this I’ve had to include the wp header so it can connect to the wp database and find the function.
The problem is that that page already connects to another database to display another script of mine. One db seems to be overriding the other, so now my other script isn’t working. Is there a way to get at the wp header info needed for that function without including it in the header (which by definition MUST go at the start of the file)?
- The topic ‘Second database connection’ is closed to new replies.