Kenn Murrah wrote:
> I need to concatenate several variables, some of which are text and
> some of which are integers ... e.g.
>
> $desired_string = $number . $text . $number2 . $text
>
> always seems to truncate after first number ...
Strange.
If that's really the case, you might try to type-cast the numbers to
strings by placing (string) in front of them.
$desired_string = (string)$number . $text . (string)$number2 . $text
regards
Wagner
--
Madness takes its toll. Please have exact change.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]