Re: "x" as a multiplier

From: Date: Wed, 04 Dec 2002 07:55:42 +0000
Subject: Re: "x" as a multiplier
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-126956@lists.php.net to get a copy of this message
Hi, try $newwidth." x ".$newheight instead. It's important to put the spaces inside the " <- ...don't know the word :-) If it's still not working you could try settype($newwidth, "string"); settype($newheight, "string"); echo $newwidth." x ".$newheigt; ....but I think, this is not necessary! HTH, Bastian > Exactly. But it's only giving me one of the numbers without the space > between the numbers and the x. > > > > $newwidth . "x" . $newheight

« previous php.general (#126956) next »