RE: Storing Boolean Values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:  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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux