Re: [PHP] Why doesn't working with array's ever stick in my thick head?

2008-05-13 Thread Jason Pruim
Hi Everyone, I am taking another stab at this problem, complete with code and an example... Here is the issue: I need to be able to display pounds and ounces of a given number of pieces, the code I have does this just fine for a single route... But what I can't seem to get through my

[PHP] Why doesn't working with array's ever stick in my thick head?

2008-05-09 Thread Jason Pruim
Hi Everyone, SO it's friday, I'm tired, and I can't seem to think straight... I am attempting to do some very basic math with some arrays... Here's the pseudo code that I'm working with: NumberOfPieces * PieceWeight = TotalWeight explode total weight to get tenth's of pounds, then divide

Re: [PHP] Why doesn't working with array's ever stick in my thick head?

2008-05-09 Thread Dan Joseph
On Fri, May 9, 2008 at 12:56 PM, Jason Pruim [EMAIL PROTECTED] wrote: Hi Everyone, SO it's friday, I'm tired, and I can't seem to think straight... I am attempting to do some very basic math with some arrays... Here's the pseudo code that I'm working with: NumberOfPieces * PieceWeight =

Re: [PHP] Why doesn't working with array's ever stick in my thick head?

2008-05-09 Thread tedd
At 12:56 PM -0400 5/9/08, Jason Pruim wrote: Hi Everyone, SO it's friday, I'm tired, and I can't seem to think straight... I am attempting to do some very basic math with some arrays... Here's the pseudo code that I'm working with: NumberOfPieces * PieceWeight = TotalWeight explode total

Re: [PHP] Why doesn't working with array's ever stick in my thick head?

2008-05-09 Thread Jason Pruim
On May 9, 2008, at 1:05 PM, Dan Joseph wrote: On Fri, May 9, 2008 at 12:56 PM, Jason Pruim [EMAIL PROTECTED] wrote: Hi Everyone, SO it's friday, I'm tired, and I can't seem to think straight... I am attempting to do some very basic math with some arrays... Here's the pseudo code that

Re: [PHP] Why doesn't working with array's ever stick in my thick head?

2008-05-09 Thread Jason Pruim
Hey tedd On May 9, 2008, at 1:21 PM, tedd wrote: At 12:56 PM -0400 5/9/08, Jason Pruim wrote: Hi Everyone, SO it's friday, I'm tired, and I can't seem to think straight... I am attempting to do some very basic math with some arrays... Here's the pseudo code that I'm working with:

Re: [PHP] Why doesn't working with array's ever stick in my thick head?

2008-05-09 Thread tedd
At 1:29 PM -0400 5/9/08, Jason Pruim wrote: Hey tedd On May 9, 2008, at 1:21 PM, tedd wrote: At 12:56 PM -0400 5/9/08, Jason Pruim wrote: Hi Everyone, SO it's friday, I'm tired, and I can't seem to think straight... I am attempting to do some very basic math with some arrays... Here's the

Re: [PHP] Why doesn't working with array's ever stick in my thickhead?

2008-05-09 Thread Roberto Mansfield
Roberto Mansfield wrote: (I'm assuming .226 is the cost per ounce and 464 is the total number of ounces) It sure is Friday. This assumption doesn't make any sense! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why doesn't working with array's ever stick in my thickhead?

2008-05-09 Thread Jason Pruim
On May 9, 2008, at 4:23 PM, Roberto Mansfield wrote: Roberto Mansfield wrote: (I'm assuming .226 is the cost per ounce and 464 is the total number of ounces) It sure is Friday. This assumption doesn't make any sense! Yeah... and my work day is almost done! SO Happy Friday to you all!

Re: [PHP] Why doesn't working with array's ever stick in my thick head?

2008-05-09 Thread Roberto Mansfield
Jason Pruim wrote: Why do you want tenth's of pounds? Just divide pounds by 16 and you'll get ounces. It's actually for a weight calculator that we use for some of our mailings. when you take .226 and multiply that by 464 you get 104.864 ounces. I need to be able to display that as: 6 #

[PHP] Why not working

2002-05-19 Thread dean
This should send me an e-mail with the form info then send a thank you letter to the subscriber. It does the first, but not second, any ideas? ? $MailToAddress = [EMAIL PROTECTED]; $MailSubject = Joine-mail list; if (!$MailFromAddress) { $MailFromAddress = $email; } $Header = ;