Bitwise flagging in mysql database
| From: | Mike Mannakee | Date: | Mon, 09 Jun 2003 22:08:53 +0000 |
| Subject: | Bitwise flagging in mysql database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150814@lists.php.net to get a copy of this message | ||
I have a script that is collecting a bunch of information, and storing this
in a database. However, the rows are kinda big and I'm thinking of packing
the information into flag bits, and storing this information in one string
in the database. I'm wondering if I should use mysql's bitwise operators to
manipulate the data, or just pull it out clean and manipulate it in php.
Does anyone have any experience using either mysql or php to do bitwise
flagging operations?
Mike