php - Get seperate keys and values from string where all data is inline -


i using custom meta box class adding meta boxes in wordpress.
1 of fields using repeater field add multiple blocks of same fields 1 post.

when retrieve data, keys , values combined inside 1 string. see screenshot: enter image description here

inside slide_re_ can see keys , values lot of different characters added.
need string

'slide_text_field_title => 'slide 1'  

and rest of values.

how extract or filter data string?

what have there serialized array.

to convert array, use:

unserialize($array['slide_re_']) 

Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -