Forum Moderators: phranque
table main
id,title,address . . . .
table sites
id,mainid,siteid,other_site_specific_data.....
So on any given site you join the current site on the column mainid, for example
select main.title, main.address, sites.other_specific_data from main,sites where main.id=sites.mainid and sites.siteid=[this_site] and . . . . .
(or use left join, just an example)
It is the site-specific programming that would display only site-specific data, if you want.