Question: how do you connect your iphone to the internet?
Answer: Tap the Settings icon on the Home screen and then tap Wi-Fi. Be sure Wi-Fi is set to On and choose a network to connect to. You should be able to access this automatically when you're in range of this network. ... 
If you're required to enter a network password, do so.
Tap the Join button, and you're connected.