Re: Bitwise flagging in mysql database

From: Date: Tue, 10 Jun 2003 15:58:45 +0000
Subject: Re: Bitwise flagging in mysql database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150935@lists.php.net to get a copy of this message
On Tuesday 10 June 2003 06:08, Mike Mannakee wrote: > 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? What kind of bitwise flag operations? Have you considered using MySQL's 'SET' field type? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* As far as the laws of mathematics refer to reality, they are not certain, and as far as they are certain, they do not refer to reality. -- Albert Einstein */

« previous php.general (#150935) next »