What is the type this string? a:1:{s:2:”en”;}

The datatype you’re showing us here is a serialized variable in PHP.

To serialize or unserialize it, just use these two methods :



To store it in MySQL, depends on the size of the serialized data. VARCHAR, TINYTEXT, TEXT, MEDIUMTEXT or BIGTEXT are available.

Leave a Comment