numbers as strings
| From: | Jon Aston | Date: | Mon, 09 May 2005 21:48:44 +0000 |
| Subject: | numbers as strings | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-214793@lists.php.net to get a copy of this message | ||
how do I set a number as a string
example
let us say
$a = 1;
$b = 2;
$c = 0;
I would like to be able to
$str = $c.$a.$b;
to result with
$str = 012;
is there something that I have missed or I guess the question should be what
did I miss