Question: how to connect to the internet with an iphone?
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.