<?php
include './db.inc';
include './db_people.inc';
$pep = new people;
header("Content-type: application/json");
switch($_REQUEST['action']) {
case 'markers':
$all = $pep->load();
echo json_encode(array('people'=>$all));
break;
}
?>