Unfortunately, one of the many things the iPhone is missing, is a 802.1x supplicant.
Many schools use 802.1x for authentication to their networks, but iPhone owners are out of luck.
You're not alone. There are even online petitions to Apple over this.