RE: Two websites need to share part of one database,suggestions please

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert Cummings <mailto:robert@xxxxxxxxxxxxx>
    on Friday, July 08, 2005 3:32 PM said:


> Use a bitvector field in the table and use a bitmask for filtering for
> which sites can access what products.

I think I understand what a bitmask is after doing some research but
would you please give me an example so I can apply what I've read?

> Then similarly for
> customizations (presuming good database normalization) you can extend
> this to customizations, specials, etc, etc. This is only one possible
> solution of many, you could have the database list in another table,
> but I thought I'd skip a join since you only mention two sites.

Again, I think I understand what you're suggesting, but the problem is
that I'm not sure how to apply it. Example please, if you will.


Thanks,
Chris.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux