Chosen Solution

If the wifi has a password my phone says cannot connect or the password is wrong which it isnt if there is no password it will connect or i can use 3g

I’m wondering if it’s just the cable. Do you get any amount of signal to it? Here’s this.. Just in case iPhone 5 Wi-Fi Antenna Replacement iPhone 5 Wi-Fi Antenna

I can connect if there isnt a password required so i dont think its the antenna x

I think I solved this once by typing the network password in caps.