[eluser]smilie[/eluser]
Lol, I 'wrote' it - I did not 'program' it.
Try something like:
- first select only the products (ipad, music player etc...);
- then, loop those results and for each result search availability and add it to the array.
At the end, you should have array as I 'made' it :-)
Cheers,
Smilie