cbearhoney Posted August 2, 2009 Share Posted August 2, 2009 Is an array of ints data type INT or data type STRING? Link to comment https://forums.phpfreaks.com/topic/168523-what-datatype-is-an-int-array/ Share on other sites More sharing options...
PFMaBiSmAd Posted August 2, 2009 Share Posted August 2, 2009 Since you cannot directly store an array in a database, you would need to serialize it, so you would need to use a data type capable holding the serialized data, which would be a string. I would use a binary BLOB type so that character encoding would not become an issue. Link to comment https://forums.phpfreaks.com/topic/168523-what-datatype-is-an-int-array/#findComment-889025 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.