Not sure if I am doing this right. I am creating a multidimensional array like:
Videoinfo={
vid: videoid,
vtitle: videotitle,
vdate: videodate,
vtime: videotime
}
This works to populate the arrary but not exactly. If I ?videoinfo.vid , videoinfo.vtitle, videoinfo.vdate or videoinfo.vtime I get the entire list each. I need to extract or print a single instance for example:
If I have the following and push it to the array videoinfo along with 10 other groups like the one below.
videoid= 5
videotitle="My Video"
Videodate= 12/01/14
videotime= 1:00
Now I only want the first group in the array so,
?videoinfo[0].vid
?videoinfo[0].vtitle
?videoinfo[0].vdate
?video[0].vtime
or change the index to any number to print or extract that group. When I try to print using an idex I get a type mismatch.
Thanks