Jump to content

FlatulentBadger

New Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About FlatulentBadger

  • Rank
    Newbie
  1. Thanks Barand, this is exactly what I was after, I am off for a bit of a deeper dive into the array_intersect docs now.
  2. I don't, I appreciate my question may not be entirely clear though, too much mixing of languages, and beer. Barand, got the jist.
  3. Hi there, I'm new here and fairly new to PHP, so be gentle please. I have a 2D array such as: Array ( [0] => Array ( [0] => 28 [1] => 6 ) [1] => Array ( [0] => 6 ) [2] => Array ( [0] => 61 [1] => 6 [2] => 28 ) ) From which I need to end up with an array containing only the elements that exist in all the 2nd dimensions. In this case it would be just 6. I could iterate over everything starting with the smallest array
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.