Hey guys im doing a litle POS system for my body's store and was wondering a few things.
so im doing an auto suggest box so it can lookup UPC and add to invoice.
so i was looking up some dynamic tutorials but was jammed on the how to read from dynamic fields?
so lets say i added 5 products,so five fields.but they all have as input name product[] so how can i get the info from the fields and show them in my print invoice..
dynamic fields question
Moderator: General Moderators
Re: dynamic fields question
...In PHP? Or Javascript? I thought you were going to ask about getting auto-suggest stuff working with a lot of inputs, but it's something about the print invoice which sounds like something you do in PHP.
Re: dynamic fields question
ya..i just realize it..
i need to grab data from forms to insert in DB
i need to grab data from forms to insert in DB
Re: dynamic fields question
So... PHP then.
$_POST["product"] will be an array. Use the array however is easiest for you.
$_POST["product"] will be an array. Use the array however is easiest for you.