I have 1 default.cfg, 1 db.cgi and 1 html.pl file but I would like to have 2 default.db files.
I'll try to explain in detail what I want to do:
I'm trying to create a pen pals page and I would like to keep the men and women information in 2 separate .db files, let's say male.db and female.db
Now when a user logs in the database and choses to search for women then he would only search within the female.db file. If one wants to search for men he would search within the male.db file.
Does this make sense and is it possible to be done?
Also one more question:
The database should be open to anyone to search but only registered users should be able to add/modify/delete their own profile.
Would this work if I have 2 .db files?
I mean if a woman searches the database for men and then decides to add her profile, would this work?
I mean logically since she's searching for men she would have the "male.db" file open. But then if she wants to add a profile she should be able to close the "male.db" file and open the "female.db" file.
I hope I make sense...
Any help would be greatly appreciated!
I'll try to explain in detail what I want to do:
I'm trying to create a pen pals page and I would like to keep the men and women information in 2 separate .db files, let's say male.db and female.db
Now when a user logs in the database and choses to search for women then he would only search within the female.db file. If one wants to search for men he would search within the male.db file.
Does this make sense and is it possible to be done?
Also one more question:
The database should be open to anyone to search but only registered users should be able to add/modify/delete their own profile.
Would this work if I have 2 .db files?
I mean if a woman searches the database for men and then decides to add her profile, would this work?
I mean logically since she's searching for men she would have the "male.db" file open. But then if she wants to add a profile she should be able to close the "male.db" file and open the "female.db" file.
I hope I make sense...
Any help would be greatly appreciated!