Hello there guys, i have a little problem in mysql/php i'm pretty sure someone will be able tu help me ... (I'm a n00b in programming matters at this point, so sorry if its a stupid question)..
I have this form (fig a.) working in a web browser, but when the client leaves the field in blank Mysql stores a "0" (zero) on it, but a need to be (null,1,2,3,4,5,6,7,8,9,10) ONLY, not zero not 15, only the list on (), and obviously is mysql completing the field with zeros, rather than leaving it blank, is there a way to tell that blank is ok in the field?
(fig a.)( <select name="xtag01">
<option></option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
</select>
)
Thanks guys (sorry for my rusty english)
bye and thanks in advance.