Kairu Posted January 1, 2007 Share Posted January 1, 2007 Using MySQL Administrator, when I set a columns type to boolian, when I look at it with PHPMyAdmin, it shows up as tinyint. Is there a proper boolian type? I noticed bool, but it does not seem to work... unless I'm using it improperly. Link to comment https://forums.phpfreaks.com/topic/32437-solved-boolian-into-database/ Share on other sites More sharing options...
Orio Posted January 1, 2007 Share Posted January 1, 2007 Use 0 as false and 1 as true :)Orio. Link to comment https://forums.phpfreaks.com/topic/32437-solved-boolian-into-database/#findComment-150716 Share on other sites More sharing options...
Kairu Posted January 1, 2007 Author Share Posted January 1, 2007 Yea.... it's just so inconvenient..... the code is over 20 KB and I'm converting it from flat file to SQL..... I'll write a function or something later I guess..... Unless someone has a written one? I'm perfectly capable of writing one..... well, I will be later. But if someone has one written out it would be nice. ;D Link to comment https://forums.phpfreaks.com/topic/32437-solved-boolian-into-database/#findComment-150717 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.