Storing a PHP Array in a MySQL Database
Although there isn't an explicit MySQL data type for arrays or list data, you can store PHP arrays as strings within a MySQL database using the LONGTEXT MySQL data type and PHP string parsing functions.
Views: 542 | | by Jason
View this tutorial