I am parsing through multiple pages of a website to put the following data into an array... well two as of now... but I think it should just be one array... plz check my logic:
Right now I use two arrays, but after I parse I want to make sure there is no duplicates..so..
Also, I want to be able to use column names "name" => "$nameField"
so after parsing I use:
array_push($events_array, array("name" => "$nameField", "date" => "$dateField", "venue" => "$venueName", "link" => "$linkField"));
I then use:
$uniqueEvents = array_unique($events_array);
this only returns one result.. events_array has all the data in it but $uniqueEvents only has one result
so it leads be to believe there is no use for the two dimensional array and it could all be in just one array..
can anyone simplify what i am trying to do, i feel as if my logic is off...