RE: [PHP] math produces strange characters 

From: Date: Fri, 06 Feb 2004 23:37:04 +0000
Subject: RE: [PHP] math produces strange characters 
Groups: php.general 
Request: Send a blank email to php-general+get-177065@lists.php.net to get a copy of this message
Paul Furman <mailto:paul@edgehill.net> on Friday, February 06, 2004 3:28 PM said: > <?php > $result= (1 * 10); > print$result >> > > 10 > Again, I very new to this, first time I tried doing a little simple > math, I'm befuddled. I'm not getting the same result. I got a plain 10. But some weird things about your code are that you don't have a space between print and $result (shouldn't cause an error, but is hard to read) and you're missing a ; on the end of the second line. What other code is in that page? Chris.

« previous php.general (#177065) next »