^ Wot he says...
If it's completely silent (and I assume your lead and amp have been ruled out), the first place I'd look at is the jack socket - there should be two wires attached to it. If the socket has been loose and capable of rotating, one of the connections can easily get broken.