Samsung galaxy a3 not connecting to wifi

A

AC Question

My phone was connecting to the wifi fine and then the next day i tried connecting to the wifi but the phone wasnt picking up a connection even though all the other devices in the house were. I went to my neighbours house to see if i could connect to his wifi, the same problem occured. I forgot my networks to see if the wifi would even come up and did not, so i re setted the phone still no change.
Anyone know what the problem might be?
ive only had this phone about 1 month and half.