Extracting a sub-array from multidimensional array

Extracting a sub-array from multidimensional array

Hello Everyone:

I've a serialized multi-dimensional array which uses keys. How can I use jQuery to extract one of the sub-arrays (as users select them) from the multi-dimensional array? Following are applicable details:

  1. Multi-dimensional array name: mail_array
  2. mail_array is serialized
  3. There are three keys to each sub-array
    • keyMsgID
    • keyEmail
    • keySubject
  4. Users see a table displaying email and subject. The goal is to remove emails they select from the array.
Any ideas on how to go about this are greatly appreciated. Thank you in advance.

Pavilion