Re: [PHP] my math stinks

2002-02-10 Thread Andrew Brampton
$answer = abs($pa - $pb) + $ca +$ps; No ifs :) Maybe I'm lazy, but I like 1 line statements Andrew - Original Message - From: "Gary" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 10, 2002 7:05 PM Subject: [PHP] my math stinks > Hi A

Re: [PHP] my math stinks

2002-02-10 Thread Jason Wong
On Monday 11 February 2002 03:05, Gary wrote: > Hi All, > This is the first time I have had to deal with math. I have gone > through the manual and a few books and I think I am worse off then when > I started. Can someone give me an example of the simple math below. I > think If I see some in co

Re: [PHP] my math stinks

2002-02-10 Thread Lars Torben Wilson
On Sun, 2002-02-10 at 11:05, Gary wrote: > Hi All, > This is the first time I have had to deal with math. I have gone > through the manual and a few books and I think I am worse off then when > I started. Can someone give me an example of the simple math below. I > think If I see some in code

[PHP] my math stinks

2002-02-10 Thread Gary
Hi All, This is the first time I have had to deal with math. I have gone through the manual and a few books and I think I am worse off then when I started. Can someone give me an example of the simple math below. I think If I see some in code I can move on from there. I need to find out if $