to connect to the internet via my iphone
Connecting a laptop to a cell phone to use the cell phones internet connection is called Tethering.
Many mobile provider do not allow tethering. Check with your cell phone carrier about that.
To tether an iPhone to a laptop you'd need to 'jailbreak' your iPhone which is usually a bad idea.