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 */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php