I have a problem that i bet is simple but i just can't get it. I need to insert the value coming from a post var into a database. I can do this just fine with any number except 0. My database col is set to int and has a default value of zero. Whenever i try to insert the post 0 value it does not record it. I tried type casting the value before i insert it but that did nothing too. Please help