Re: Mathmatical formula

From: Date: Tue, 20 Dec 2005 21:04:21 +0000
Subject: Re: Mathmatical formula
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-227748@lists.php.net to get a copy of this message
> Let's do an experiment. Place these two lines of code in a page, then load > it in a browser; > > <?php > > $foo = (36.00000*58.00000)/144; > echo $foo; > > ?> > > works fine for me. If you change > > <?php (36.00000*58.00000)/144 ?> > > to > > <?php echo (36.00000*58.00000)/144; ?> > Yep, that does work. Thanks Jay. Mike

« previous php.general (#227748) next »