cbearhoney Posted August 2, 2009 Share Posted August 2, 2009 Is an array of ints data type INT or data type STRING? Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.