After installing iPhone update 2.2.1 I was unable to connect to the internet / unable to connect to network via safari or email, whether on EDGE or 3G. After speaking with Rogers and Apple, both suggested I return my iPhone for a replacement. However, I managed to solve the issue with ease.
Go to Settings > General > Network > Reset Network
Tada! Internet = working

Thanks. I had the same problem and your solution worked. I was unable to browse the internet after the iPhone software upgrade. The reset of network settings resolved the issue. Thanks again