我在一张表中反序列化了数据,列如下所示
Col1 * Col2 * Col3 * Col4 * Col5 * Col6 *....Col60+/-
------------------------------------------------------
6 "type" "radio" "title" "Which..."
该数据将被序列化,并插入到另一个表的列中,如下所示
a:1:{i:6;a:9:{s:4:"type";s:5:"radio";s:5:"title";s:24:"Which option is correct?";s:10:"validation";a:1:{s:8:"required";b:1;}s:8:"subtitle";s:26:"Select the correct option*";s:11:"description";s:0:"";s:11:"conditional";a:4:{s:6:"active";b:0;s:6:"status";b:0;s:6:"change";b:1;s:5:"logic";a:0:{}}s:6:"m_type";s:3:"mcq";s:7:"tooltip";s:0:"";s:8:"settings";a:11:{s:12:"hidden_label";b:0;s:7:"options";a:3:{i:0;a:3:{s:5:"label";s:8:"Option 1";s:5:"score";s:1:"1";s:3:"num";s:0:"";}i:1;a:3:{s:5:"label";s:8:"Option 2";s:5:"score";s:1:"0";s:3:"num";s:0:"";}i:2;a:3:{s:5:"label";s:8:"Option 3";s:5:"score";s:1:"0";s:3:"num";s:0:"";}}s:7:"columns";s:1:"1";s:8:"vertical";b:1;s:8:"centered";b:0;s:6:"others";b:0;s:7:"o_label";s:6:"Others";s:4:"icon";s:5:"57742";s:7:"shuffle";b:0;s:4:"type";s:4:"none";s:9:"parameter";s:0:"";}}}
这可以单独在mysql上完成吗,或者我需要将php函数与mysql一起使用来对数据进行序列化?