Unregistered
Unregistered
Guest   Less than 1 minute ago
#1

I'm making a zenphoto template, and one of the PHP includes does some database stuff... like 'latest forum threads' for example.

Once my script finishes and zenphoto starts zenphoto then uses the previous database connection to do it's work... i don't want it to use the DB info i supplied in my script.

Developer
Developer
trisweb   19-03-2007, 17:42
#2

Call the function db_connect(); after your include.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.