Airplane mode disables the radios and transmitters on portable electronic devices like phones and laptops.
You can reset the network settings on your iPhone by navigating to the "Reset" menu in the Settings app.