logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

How to use more than one database

Version: http://www.finewineandflowers.com/admin/index.php


How to use more than one database
ngprasad
Beginner

Usergroup: Customer
Joined: Apr 28, 2008
Total Topics: 3
Total Posts: 6
Posted 04/28/08 - 01:58 AM:
quote post
#1
Hi All,

I am using WSN Links software in my website.I need to integrate discussion forums into my website.For discussion forums, I have seperate database is there.How to integrate that database into WSN Links software.i.e how to use more than one database in WSN Links software.

Can you please help me anyone.
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 258
Total Posts: 819
Posted 04/28/08 - 02:04 AM:
quote post
#2
You would need to use just ONE database.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 49
Total Posts: 5539
Posted 04/28/08 - 07:31 PM:
quote post
#3
You can use two if you want to make things unnecessarily hard, but using one makes more sense: http://scripts.webmastersite.net/wsnlinks/wsnmanu...
ngprasad
Beginner

Usergroup: Customer
Joined: Apr 28, 2008
Total Topics: 3
Total Posts: 6
Posted 04/29/08 - 10:33 AM:
quote post
#4
Hi Paul,

I need to use separate database not in wsnlinks database.
I have created blacklist database and changed like in config file.But it is not working.
$databasename = 'finewine';
$databasename1 = 'blacklist';
$adb = new db($dbhost, $dbuser, $dbpass, $databasename);
if ($adb->dbh) $connection = $adb->dbh;
$adb1 = new db($dbhost, $dbuser, $dbpass, $databasename1);
if ($adb1->dbh) $connection1 = $adb1->dbh;

How to use more than one database.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 49
Total Posts: 5539
Posted 04/30/08 - 01:47 AM:
quote post
#5
If you go out of your way to destroy the script by random PHP sabotage for no apparent purpose, it will stop working.
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.