wripp
07-31-02, 18:27
| Hey guys, I'm new here, and the nature of my problem has led me to write this message, so here goes: I am creating a php/mySQL web app and what i have inmplemented is a super huge inventory ordering system for a local wholesaler. The thing is, according to their spec I have to list EVERY item that they carry on ONE page (don't ask). Anyhow, beside each item, there is an input field where customers can enter in the quantity of what they need, and then eventualyl hit submit to post the transaction to the wholesaler. Now, What i can do here is a simple action script defined in the form tags and process the values on the server, but I would liek to avoid having to transmit all the zeros that will inevitably show up on an order. Essentially, if I have, say 200 fields of which only 10 are filled with non-zero, how can I, on the client-side determine that only those 10 fields need to be transmitted? lol.. thanks if anybody knows this. (Do i have to use javascript, or can php do this) |