Leave the userCheckPrivilege(3); at 3. I do not want the regular student the ability to get everyone's emails. I may have an untrustworthy student spamming everyone.
Add to the WHERE statement "AND schoolID = $schoolID". Right now, we only use this website, but I was thinking in the future that I may use the same code to host multiple schools.
Leave the userCheckPrivilege(3); at 3. I do not want the regular student the ability to get everyone's emails. I may have an untrustworthy student spamming everyone.