"; // now for post docs $query="SELECT firstname,shortname,url,title,office,phone FROM instructors WHERE type = 'P' ORDER BY shortname ASC " ; $result=mysql_query($query) ; $num=mysql_numrows($result) ; if ( $num != 0 ) { print "

Faculty

" ; for ( $i = 0 ; $i < $num ; $i++ ) { $myurl = mysql_result($result, $i, "url") ; $my_first = mysql_result($result, $i, "firstname" ) ; $my_teach = mysql_result($result, $i, "shortname" ) ; $my_title = mysql_result($result, $i, "title" ); $my_room = mysql_result($result, $i, "office" ); $my_phone = mysql_result($result, $i, "phone" ); $line = "\n" ; print $line ; } print "

Name

Title

Office

Phone

" ; $line .= $my_first . " " . $my_teach . " " . $my_title . " " ; $line .= $my_room . " " . $my_phone ."
\n
\n"; } // if $num // now for staff $query="SELECT firstname,shortname,url,title,office,phone FROM instructors WHERE type = 'S' ORDER BY shortname ASC " ; $result=mysql_query($query) ; $num=mysql_numrows($result) ; print "\n" ; // grad students $query="SELECT firstname,shortname,url,email,office,phone FROM instructors WHERE type = 'G' AND name != 'Staff' ORDER BY shortname ASC " ; $result=mysql_query($query) ; $num=mysql_numrows($result) ; print "

Postdocs

" ; for ( $i = 0 ; $i < $num ; $i++ ) { $myurl = mysql_result($result, $i, "url") ; $my_first = mysql_result($result, $i, "firstname" ) ; $my_teach = mysql_result($result, $i, "shortname" ) ; $my_title = mysql_result($result, $i, "title" ); $my_room = mysql_result($result, $i, "office" ); $my_phone = mysql_result($result, $i, "phone" ); $line = "\n" ; print $line ; } // for $i print "

Name

Title

Office

Phone

" ; $line .= $my_first . " " . $my_teach . " " . $my_title . " " ; $line .= $my_room . " " . $my_phone ."
\n

Staff

" ; for ( $i = 0 ; $i < $num ; $i++ ) { $myurl = mysql_result($result, $i, "url") ; $my_first = mysql_result($result, $i, "firstname" ) ; $my_teach = mysql_result($result, $i, "shortname" ) ; $my_title = mysql_result($result, $i, "title" ); $my_room = mysql_result($result, $i, "office" ); $my_phone = mysql_result($result, $i, "phone" ); $line = "\n" ; print $line ; } print "

Name

Title

Office

Phone

" ; $line .= $my_first . " " .$my_teach . " " . $my_title . " " ; $line .= $my_room . " " . $my_phone ."
\n
\n"; mysql_close() ; ?>

Graduate Students

" ; for ( $i = 0 ; $i < $num ; $i++ ) { $myurl = mysql_result($result, $i, "url") ; $my_first = mysql_result($result, $i, "firstname" ) ; $my_teach = mysql_result($result, $i, "shortname" ) ; $my_title = mysql_result($result, $i, "email" ); $my_room = mysql_result($result, $i, "office" ); $my_phone = mysql_result($result, $i, "phone" ); $line = "\n" ; print $line ; } print "

Name

Office

Phone

Email

" ; $line .= $my_first . " " . $my_teach . " " ; $line .= $my_room . " " . $my_phone ."" ; $line .= $my_title . "
\n

Home  | General Information  | People  | Research  | BGSU Planetarium  | Academics  | Links