Re: Question about arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Nov 13, 2007, at 1:34 AM, Jim Lucas wrote:

Jason Pruim wrote:
Hi 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@xxxxxxxxxx

What is your expected results?

Jim Lucas

The output I want would be to display something like this after hitting the second submit button:

the weight of 100 pieces is: 9.4

| 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@xxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux