Hi Jenny1970
Your best bet is to ask friends, neighbours or relatives to leave some food and water out.
However, what we feed the hedgehogs should really only be supplementary. So that they should be alright without it for a short while. If you can, I would try to leave water out in a large but shallow container, somewhere in the shade so that it doesn’t evaporate so quickly. They can usually find wild food, but not always water.
In the long term what we all need to do is to make our gardens better habitats for hedgehogs to enable them to become less reliant on the artificial food we are offering them. (and of course increase the size of their potential habitat by encouraging hedgehog highways). The natural food that hedgehogs can find for themselves is the best thing for them.