Re: Storing multiple items in one MySQL field?
| From: | Karl DeSaulniers | Date: | Thu, 12 Jan 2012 01:08:02 +0000 |
| Subject: | Re: Storing multiple items in one MySQL field? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-48157@lists.php.net to get a copy of this message | ||
Ok, thanks.
On Jan 11, 2012, at 11:53 AM, Peter Lind wrote:
*snip*Karl DeSaulniers Design Drumm http://designdrumm.comHow 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