";
try {
$stringData = @file_get_contents('people.json');
if ($stringData == FALSE) {
throw new Exception("File not found");
}
$peopleData = json_decode($stringData, true);
} catch (Exception $e) {
echo '
Budget & Business Analyst
";
echo "
";
}
?>
$name"; echo "
Study Coordinator
";
echo "";
echo "
";
}
?>
";
echo "";
echo "
";
} else {
//echo $name;
echo "";
$pic_num = rand(1,4);
switch ($pic_num) {
case 1:
$imagefile= "img/bandit_draw.png";
break;
case 2:
$imagefile= "img/maki_draw.png";
break;
case 3:
$imagefile= "img/nao_draw.png";
break;
default:
$imagefile= "img/pr2_draw.png";
break;
}
echo "
";
}
}
?>
$name
"; echo "PhD Students
";
echo "";
echo "
";
}
?>