Re: Storing multiple items in one MySQL field?

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

 



Ok, thanks.

On Jan 11, 2012, at 11:53 AM, Peter Lind wrote:

*snip*


How does set() know the difference between say
the first row (1) + the fifth row (5) and the second row (2) + fouth row (4)
in the bit set? The sum of both are the same.
I am sure I am congfusing something.


Ummm ... if you're asking how set figures out how bitmasks differ,
then yes, you're very confused. It's a bitmask, summing plays no role.
Rest assured that set will know the difference between different kinds
of content in the column.

Regards
Peter

--
<hype>
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
</hype>

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


Karl DeSaulniers
Design Drumm
http://designdrumm.com


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



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux