franklins Posted December 31, 2007 Share Posted December 31, 2007 How do I make a variable in PHP that is only 1 bit long, and how do I make a column in MySQL that is only 1 bit long? Link to comment https://forums.phpfreaks.com/topic/83831-phpmysql-bit/ Share on other sites More sharing options...
rajivgonsalves Posted December 31, 2007 Share Posted December 31, 2007 for mysql you can use the "bit" data type I think its there not too sure tho... don't know about php Link to comment https://forums.phpfreaks.com/topic/83831-phpmysql-bit/#findComment-426654 Share on other sites More sharing options...
franklins Posted December 31, 2007 Author Share Posted December 31, 2007 I tried that and it used up 8 bits instead of 1. Link to comment https://forums.phpfreaks.com/topic/83831-phpmysql-bit/#findComment-426677 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.