gasoline cars also use a battery to initiate the engine.
The original poster was proposing a closed system where you would turn water into hydrogen (a very energy intensive process) and then turn it back into water (an energy releasing process) inside the car to provide all the energy. This is not how physics works. You cannot use your energy source to create more of your energy source without an external energy source. It just doesn't work that way.