You can look at views_get_view_result() and do something like this:
$result=views_get_view_result('teachers');
if ($result[0]) {
// we have results
} else {
// we don't
}
You can look at views_get_view_result() and do something like this:
$result=views_get_view_result('teachers');
if ($result[0]) {
// we have results
} else {
// we don't
}