Why doesn't my iPhone USB connector work in my laptop?

It used to worked perfectly but for some reason my laptop won't recognise if I connect my phone. It's not the USB port because everything else I've connected works fine and it's not the charger it works fine when connected to the power adapter. How can they not work together anymore?

Damaged data cable?
No drivers on laptop for the phone?
The second is more likely than the first