Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
Thanks.

I suggest adding another table:

CREATE TABLE w3t_Mods_Files (
M_ID int(11) NOT NULL default 0,
M_File varchar(255) NOT NULL default '',
M_New char(1) NOT NULL default '0',
KEY M_ID (M_ID),
KEY M_File (M_File)
);

This table keeps track of which files were added (M_New = '1') or modified (M_New = '0') by each mod.

Each row of the table contains one filename, so if a mod affected ten files, then there would be ten rows.

Then by doing the appropriate query, you could obtain a list of all files related to a specific mod, or a list of all mods that affect a specific file.

Sponsored Links
Entire Thread
Subject Posted By Posted
[6.x] Modifications Information for ubb.threads v0.2.1 Dalar 04/21/2003 6:26 AM
Re: [6.x] Modifications Information for ubb.threads JoshPet 04/21/2003 6:40 AM
Re: [6.x] Modifications Information for ubb.threads AllenAyres 04/21/2003 8:16 AM
Re: [6.x] Modifications Information for ubb.threads Dalar 04/21/2003 8:22 AM
Re: [6.x] Modifications Information for ubb.threads smilesforu 04/21/2003 8:51 AM
Re: [6.x] Modifications Information for ubb.threads JoshPet 04/21/2003 9:06 AM
Updated. Dalar 04/22/2003 11:12 PM
Re: Updated. omegatron 04/23/2003 1:42 AM
Re: Updated. Dalar 04/23/2003 2:49 AM
Re: Updated. Dalar 04/23/2003 2:59 AM
Re: Updated. Ian_W 04/23/2003 4:32 AM
Re: Updated. jluerken 04/23/2003 7:44 AM
Re: [6.x] Modifications Information for ubb.threads AllenAyres 04/23/2003 7:49 AM
Re: [6.x] Modifications Information for ubb.threads JoshPet 04/23/2003 7:55 AM
Re: [6.x] Modifications Information for ubb.threads AllenAyres 04/23/2003 8:02 AM
Re: [6.x] Modifications Information for ubb.threads v0.2.1 Dave_L_dup1 04/23/2003 6:57 PM
Re: [6.x] Modifications Information for ubb.threads Dalar 04/23/2003 8:14 PM
Re: [6.x] Modifications Information for ubb.threads JoshPet 04/23/2003 8:18 PM
Re: [6.x] Modifications Information for ubb.threads v0.2.1 Dalar 04/23/2003 8:27 PM
Re: [6.x] Modifications Information for ubb.threads Dalar 04/23/2003 8:29 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)