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:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 3:36 PM
To: [EMAIL PROTECTED]
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

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

Reply via email to