Unserialize data

QuestionsUnserialize data
Cedric asked 2 years ago

I have a table where one field as the data serialized with php.
Is it possible to unserialized the data before displaying it?


1 Answers
Abu Ghufran answered 2 years ago


You can make it display un-serialized, e.g.:
If field name is 'col1' then set property:

$col["on_data_display"] = array("display_unserialized","");

function display_unserialized($data)
return unserialize($data["col1"]);


Your Answer

20 + 20 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!