php-general | 2005051
Date: 05/09/05
- Next message: James Williams: "[PHP] A couple questions about templating"
- Previous message: Jochem Maas: "[PHP] Re: [PHP-DEV] make new return a reference to existent object"
- Next in thread: Rory Browne: "Re: [PHP] numbers as strings"
- Reply: Rory Browne: "Re: [PHP] numbers as strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: James Williams: "[PHP] A couple questions about templating"
- Previous message: Jochem Maas: "[PHP] Re: [PHP-DEV] make new return a reference to existent object"
- Next in thread: Rory Browne: "Re: [PHP] numbers as strings"
- Reply: Rory Browne: "Re: [PHP] numbers as strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

