I'm a newb at this so please bear with me. I'm trying to capture some data so i can count the unique value. There are 2 Separate sources for the data, there are 3 pieces of data i want to combine. i can bring them together and echo them out but I cant get them in to an array so I can use array_count_values.
this is the code i have which echos the list out
<?php
foreach ($memberattacks2 as $memberb) {
echo $memberb["Level"];
foreach ($memberattacks as $memberf) {
if ($memberf["tag"] == $memberb["ks"][1]["dTag"]) {
echo $memberf["Level"];
}
}
echo $memberb["ks"][1]["pins"];
}
this outputs a list of the numbers i can also output this to an html table, there will be about 15 unique variations of the combination of the 3 elements and i want to be able to count how many times each variation exists.