dynamic fields question

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
techker
Forum Commoner
Posts: 52
Joined: Fri Sep 02, 2005 9:53 pm

dynamic fields question

Post by techker »

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..
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: dynamic fields question

Post by requinix »

...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.
techker
Forum Commoner
Posts: 52
Joined: Fri Sep 02, 2005 9:53 pm

Re: dynamic fields question

Post by techker »

ya..i just realize it..

i need to grab data from forms to insert in DB
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: dynamic fields question

Post by requinix »

So... PHP then.

$_POST["product"] will be an array. Use the array however is easiest for you.
Post Reply