![]() |
database question
I want to include a random entry from a table in another database. My script returns the random entry just fine, but when I call it from vBulletin it doesn't work.
Here is the error I get from vBulletin: Code:
Warning: 1 is not a valid MySQL-Link resource in /home/virtual/site19/fst/var/www/html/discussion/admin/db_mysql.php on line 120 Here is the script (with the userid and password removed): PHP Code:
Code:
// get common page vars |
Got it, mysql_select_db was the solution.
|
you got it ? how ?
i have the same problem , please post your solution code here ! |
Just use mysql_select_db to reselect your forum database when you exit your routine
|
All times are GMT. The time now is 08:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|