Current Students
children() as $child)
{
if ($child->type=="current phd student")
{
echo '- ';
echo ''. $child->name . '' . ".";
echo '
';
}
}
?>
MSc Students (from Kurdistan)
- Graduated:
foreach($xml->children() as $child)
{
if ($child->type=="current phd student" && $child->graduated=="yes")
{
echo $child->name . "(" . $child->university . ")"
}
}
<\ul>