Unserialize data

QuestionsUnserialize data
Cedric asked 7 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 7 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

8 + 6 =

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?