Re: Storing multiple items in one MySQL field?
Peter Lind <[email protected]>
| Newsgroups | gmane.comp.php.database |
|---|---|
| Message-ID | <CAEU6NAfE7=vz147Zqi4VYtV=Nsh7oHdQsopPF2o9-f=Nf8ggHA@mail.gmail.com> |
*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