i have a table
prductcode qty
qty fiels is decimal and it is not complusory
so sometimes user can keep it blank
so when i try for query to insert
insert into table1(prductco de ,qty)values('$p cde',$qty);
the i get error
how i do this
Thanks in advance
prductcode qty
qty fiels is decimal and it is not complusory
so sometimes user can keep it blank
so when i try for query to insert
insert into table1(prductco de ,qty)values('$p cde',$qty);
the i get error
how i do this
Thanks in advance
Comment