I have a form that collects the QTY and DESC of an item for a particular order.
I store the QTY in one array - qty[]
and the DESC in one array - desc[]
However, QTY can sometimes be blank.
How can I put this data into my database?
My table looks like this
id | sales_order | qty | desc
id is unique, primary key