So i'm working on some coding that someone else started. They stored some data in the database in an array. However, I can't seem to figure out how to get it into my own php array. At first I thought maybe they used json_encode, but it doesn't seem to be in the correct format. So here is how the data is stored:
a:32:{s:10:"product_id";s:2:"50";s:14:"product_status";s:7:"private";s:7:"release";s:7:"approve";s:12:"min_purchase";}
(it actually goes much longer than that, but that's a snippet)
Looking into it further, I think they were using unserialize to get the data back out, but it doesn't seem to be in the correct format for that.
Anyone know how I could get that into a usable php array?