Yes thanks, that works .......still don't understand why it threw the parse
error at the end of the if statement.........virtual beers to you, it was
driving me nuts (WFT's syndrome, lol)
that was a stupid error of course it should have been abs($Quantity) etc,
but looking in the wrong place...
www.WellingtonLive.co.nz
----- Original Message -----
From: "Matthew Macdonald-Wallace"
<Sent: Wednesday, August 13, 2003 10:28 AM
Subject: [wdvltalk] Re: PHP parse error - stumped
: Change it to the following:
:
: > if ($Quantity) {
: >
: > $Quantity = abs($Quantity);
: > $Discount = abs($Discount);
: >
: > $TotalCost = Calculate_Total ($Quantity, $cost, $Gst, $Discount );
:
: It works much better... :P
:
: Matt
: --
: +---------------------------------+
: |Matthew Macdonald-Wallace |
: |The Truth Will Set you Free |
: |http://www.truthisfreedom.org.uk/|
: +---------------------------------+
: Peanut Blossoms 4 cups sugar 16 tbsp. milk 4 cups brown sugar 4 tsp.
: vanilla 4 cups shortening 14 cups flour 8 eggs 4 tsp. soda 4 cups peanut
: butter 4 tsp. salt Shape dough into balls. Roll in sugar and bake on
: ungreased cookie sheet at 375 F. for 10-12 minutes. Immediately top each
: cookie with a Hershey's kiss or star pressing down firmly to crack
: cookie. Makes a heck of a lot.
:
: ____ • The WDVL Discussion List from WDVL.COM • ____
: To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
: Send Your Posts To: [EMAIL PROTECTED]
: To set a personal password send an email to [EMAIL PROTECTED] with the
words: "set WDVLTALK pw=yourpassword" in the body of the email.
: To change subscription settings to the wdvltalk digest version:
: http://wdvl.internet.com/WDVL/Forum/#sub
:
: ________________ http://www.wdvl.com _______________________
:
: You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
: To unsubscribe send a blank email to [EMAIL PROTECTED]
:
:
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.509 / Virus Database: 306 - Release Date: 12/08/03
____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]