Re: [PHP] Re: elseif statements

2009-05-06 Thread Jan G.B.
Hi Gary, 2009/5/5 Gary : > Jan > > Thanks for your note. > > So your wrote: > > $x = (3)*(2) makes no sense. > $x = 3 * 2 works, as > $x = (3 * 2) does, too. > But this is not an error at all. ^^ > > In the first example($x = (3)*(2) makes no sense.), which is

Re: [PHP] Re: elseif statements

2009-05-05 Thread Gary
Jan Thanks for your note. So your wrote: $x = (3)*(2) makes no sense. $x = 3 * 2 works, as $x = (3 * 2) does, too. But this is not an error at all. In the first example($x = (3)*(2) makes no sense.), which is the way I have it, works. So if it works, is there a real compelling reason to chang

Re: [PHP] Re: elseif statements

2009-05-05 Thread Jan G.B.
2009/5/5 Gary : > This just keeps getting weirder, the results change sometimes even when the > same info is entered.. > > This is the revised code (after some helpful hints from some readers) > > Anyone help, I am supposed to show this tomorrow to client. > Hi there, > Gary > > $_SESSION['sale