Answer the question
In order to leave comments, you need to log in
What is the correct way to use the unserialize function?
I have a table in the database in which the values are stored in this form:
The array which is located there is serialized. I need to output it as a normal array.
Describe exactly and clearly how to do it.
Answer the question
In order to leave comments, you need to log in
1) get the string
2) deserialize into an array via unserialize
3) ???
4) profit
Learn to formulate questions. Think about them. When you can formulate the question correctly, you will understand how to find the information you need without trying to get people to write the code for you.
Your question is called "How to use the unserialize function correctly?", and then you want to know how to get data from the database. This is called "porridge in the head." You need to get rid of it and everything will be fine, and it will be easier to understand.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question