Connecting iPhone to Router

Hello, I am trying to connect my iPhone to my linksys router via Wi-fi. Doesn't seem to want to connect. I have read elsewhere that you need to create a static IP to make this work. As of now all I can do is use EDGE on the internet. Anyone experienced this or know how to fix?

thanks
Hopefully this helps. Check out this link.

iPod touch and iPhone: Tips when using Wi-Fi

Original thread: https://forums.imore.com/threads/connecting-iphone-to-router.168587/