I have an array that is from unserialized array in php, I have posted this question(how to break one column with huge text data into multiple column or array in sql and php to understand how unserialize array works from sql data. This was my data
a:3:{i:o;"Is maths easy".<
br /> <div class="user-answers"><br /> <p class="strongly-disagree"
>Strongly Disagree</p> <"Is physics easy".<
br /> <div class="user-answers"><br /> <p class="strongly-disagree"
>Strongly Disagree</p> <
Now I am having issue in getting specific information. If I have
[0]
[0] => Is maths easy
[1]=> user-answers
[1]
[0]=>Is physics easy
[1]=> user-answers
Now I want to get let say 50 users answered these questions. Some user might left answer empty. I want to make a percentage like
user who answered/Total users
Any clue how can I get this information out of the array I got from unserialzed array.