I have this <input type="text" name="Fax" id="faxbox" maxlength="9" value="<?php echo $row['Fax'] ?>" />
I want to leave it blank on submit. On Data Base, that column (as int) is set to allow nulls too.
But when i submit, my empty/blank field is turn to 0 (zero) by MySql. I want that appear NULL instead 0.
What should I do? I try if(empty($_POST['Fax'])){$Fax=NULL;}
but wont work.