Default value in sql

HI there.

If i have a from input how do i set a default in the database if the inputs are not fillled in here is my input.

<p><b>Wash Hand Basin.</b></p>



<p>Hot &nbsp <input type="tel" name="basin1hot" style="width: 5em"> &deg;C &nbsp Cold &nbsp <input type="tel" name="basin1cold" style="width: 5em"> &deg;C</p>

If these fields are not entered i want it to default at 0

Thanks

When you define the table definition.

Sponsor our Newsletter | Privacy Policy | Terms of Service