The Staff

Database NOT connected to due to a connection error."); } else { // nothing goes here due to just being the DB connection } $sql = "SELECT position, name FROM staff ORDER BY sequence,name"; if ($result = mysqli_query($connect, $sql)) { /* fetch associative array */ while ($row = mysqli_fetch_row($result)) { echo "\n"; } } else { echo "No Staff found."; } $sql = "SELECT name, email FROM educators ORDER BY name"; echo ""; ?>
" . $row[0] . ":" . $row[1] . "
Religious Educators:"; if ($result = mysqli_query($connect, $sql)) { /* fetch associative array */ while ($row = mysqli_fetch_row($result)) { echo "" . $row[0] . "
\n"; } } else { echo "No Educators found."; } echo "
Religious Educators: