RE: [PHP-DB] Storing Boolean Values
| From: | Matthew Moldvan | Date: | Fri, 14 Feb 2003 20:27:00 +0000 |
| Subject: | RE: [PHP-DB] Storing Boolean Values | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-25641@lists.php.net to get a copy of this message | ||
I would say using a 'tinyint' as either a 1 or 0 would be the same ... thats
basically all a boolean TRUE or FALSE is, anyway.
Regards,
Matthew Moldvan
---------------------------------------
System Administrator
Trilogy International, Inc
http://www.trilogyintl.com/ecommerce/
---------------------------------------
-----Original Message-----
From: Micah Stevens [mailto:micah@raincross-tech.com]
Sent: Friday, February 14, 2003 3:36 PM
To: php-db@lists.php.net
Subject: [PHP-DB] Storing Boolean Values
I've been storing checkbox values in MySQL as Enum's for a while, I was
wondering if there's a better way to do things. Is this the most compact
way to store a boolean value?
-Micah