Support » Plugins » Make an array of meta user data in WordPress human readable

  • holdendc25

    (@holdendc25)


    I have added some data via Gravity Forms to a WordPress site and I am trying to loop through the data that is stored in the database in an array in a human readable format. The data stored is for MOVIE, ROLE, and YEAR — here is how the data is stored in the database:

    s:298:”a:3:{i:0;a:3:{s:4:”Year”;s:4:”2010″;s:5:”Movie”;s:18:”Mission Impossible”;s:4:”Role”;s:5:”Actor”;}i:1;a:3:{s:4:”Year”;s:4:”2011″;s:5:”Movie”;s:20:”Mission Impossible 2″;s:4:”Role”;s:10:”Lead Actor”;}i:2;a:3:{s:4:”Year”;s:4:”2012″;s:5:”Movie”;s:20:”Mission Impossible 3″;s:4:”Role”;s:8:”Director”;}}”;

    Any ideas on how to loop through that and output the data in a human readable way will be most appreciated… I will paypal a beer to anyone that can help…

    Thanks in advance!

  • The topic ‘Make an array of meta user data in WordPress human readable’ is closed to new replies.