Re: array field type

From: Date: Tue, 06 Mar 2007 17:38:14 +0000
Subject: Re: array field type
References: 1 2 3  Groups: php.db php.general 
Request: Send a blank email to php-db+get-43204@lists.php.net to get a copy of this message
Wrong! Take a look at the SET datatype http://dev.mysql.com/doc/refman/4.1/en/set.html. This allows you to have an array of values in a single field, and the user can select any number of them. Sort of, but not really: This is a really specialized keyword, and depends on binary mapping of enum-ish sets. As a results you have a maximum of 64 possible values, and only 1 dimension. Large or multdimensional arrays wouldn't work with this.
-Micah

« previous php.db (#43204) next »