> I'm having a problem I don't think I should be having. Basically, I'm
> doing some simple math, and I'm having issues in making PHP do it
(with
> the brackets in particular).
> 
> An example that looks like it -should- work:
> 
> $Math = sqrt(81)(5+4)-1;

Do you mean:

$Math = sqrt(81)*(5+4)-1;

You can't leave out the * for multiplication. y = mx + b in algebra must
be written as $y = $m * $x + $b, for example. 

---John W. Holmes...

Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to