Re: Question about arrays
| From: | Jason Pruim | Date: | Tue, 13 Nov 2007 13:26:35 +0000 |
| Subject: | Re: Question about arrays | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264433@lists.php.net to get a copy of this message | ||
On Nov 13, 2007, at 1:34 AM, Jim Lucas wrote:
Jason Pruim wrote:The output I want would be to display something like this after hitting the second submit button: the weight of 100 pieces is: 9.4Hi Everyone, I have a question, and to avoid getting flammed until the morning, I waited to ask until the end of my day :) Or near it at least. I have a small simple script I'm writing so that I can calculate how much a certain number of pieces weigh, The page can be seen here: HTTP://www.raoset.com/weight/ and here is the php code: Obviously I have some debugging stuff listed in there, so that's not the end result that it WILL be :) What I'm having issues with is, it only takes the value of the second text box, it won't process my array. Anyone care to take a quick look? Or tell me other then the php website where to look? I've already looked there and just couldn't come up with anything that makes sense to me... Thanks for looking! --Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424 www.raoset.com japruim@raoset.comWhat is your expected results? Jim Lucas
| Route # | Pieces | Weight | | R001 | 469 | 44.086# | | R004 | 540 | 50.76# |and what I get is:
| Route # | Pieces | Weight | | R004 | 540 | 50.76# | | R004 | 540 | 50.76# |Or more specifically what ever is in the bottom set of text boxes.
-- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424 www.raoset.com japruim@raoset.com