If you drink but don't eat any food how long can you go without food?

Depends on your body weight and general health. Probably a couple of weeks at least, perhaps much more.