php - Is it possible to insert the record using multi dimension array? ← (PHP, MySQL)

Solution:

why you not simply insert a single record for each subscriber?, if the fields on the databases are NOT-NULL you can insert default values instead. however, i would use json_encode() instead serialized(), this will maintain the data readble for others languages using a json parser.

Answer



Solution:

You can use serialize() and unserialize (its opposite) to store multidimensional arrays into mysql

Source