Value of ideas
<?php
include 'peoples.php';

foreach ($peoples as $people) {
    foreach ($people[ideas] as $idea) {
        if ( array_search($idea, $ideas) && $idea['incarnate'] == 1) {
            $history[] = $people;
        }
        $ideas[] = $idea;
    }
}
?>

 

Leave a Reply

Close Menu