how to extract an array with two different id's using PHP : how to extract an array with to different id's image below show sample


[image sample below][1]


  [1]: https://i.stack.imgur.com/aWWbk.jpg