If my knowledge is correct when you run current through a NaCl solution chlorine gets freed up leaving a surplus of sodium cations. The sodium will obviously react with the water and form NaOH. I read on a chemistry forum a thread talking about procuring NaOH like this using graphite from pencils as the electrodes. NaOH is cheap and easy to get a hold of but this is still a fairly cool experiment. Wouldn't mind trying it myself. Has anyone here tried this?