• Dear Dev-Team,

    we are having troubles writing the correct “data” into our database.
    our code input is:
    maybe_unserialize(‘a:1:{i:0;s:5:”‘.$post->ID.'”‘),

    But the output looks different:
    s:20:”a:1:{i:0;s:5:”24334″”;

    The above code need to look like: a:1:{i:0;s:5:”24334″;}
    But it does always pre-add the s:20:”STRING” to our string.

    Is there any solution available NOT adding the s:20:?
    Many thanks.

The topic ‘maybe_unserialize(),’ is closed to new replies.