Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
FInding Unique set of elements from an array
  • Dear,

    I am posting in general forum, Kind reply appreciated.

    i have array in this way.
    [john]=>[[age]=>25 [gender]=>male]
    [lina]=>[[age]=>24 [gender]=>female]
    [thomson]=>[[age]=>24 [gender]=>male]
    [mariya]=>[[age]=>24 [gender]=>female]

    my array is large around 1000+ names. after running script, i will get array 
    [john]=>[[age]=>25 [gender]=>male]
    [lina,mariya]=>[[age]=>24 [gender]=>female]
    [thomson]=>[[age]=>24 [gender]=>male]

    how is possible, i am little more confused
  • I haven't got a clue what you are on about.

    You have something, you do something, then you have something else?

    You have to be a lot more specific I'm afraid.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion