Posted by Alan Little on 05/14/06 14:05
Carved in mystic runes upon the very living rock, the last words of
windandwaves of comp.lang.php make plain:
> I have to store up to eight boolean bits of information about an item
> in my database.
>
> There are three ways of storing this information in my mysql database
> A. add eight fields (tiny integer)
> B. add one tiny integer and create a function in PHP that can translate
I'd go with B, just my personal preference.
--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Navigation:
[Reply to this message]
|