What is the meaning of the dots (.)
am 11.10.2007 11:43:56 von Henk OegemaWhat is the meaning of the dots (.) in the following line:
echo "Days: ". $days. " Hours: " . $hours . " Minutes: " . $mins;
What is the meaning of the dots (.) in the following line:
echo "Days: ". $days. " Hours: " . $hours . " Minutes: " . $mins;
> What is the meaning of the dots (.) in the following line:
>
> echo "Days: ". $days. " Hours: " . $hours . " Minutes: " . $mins;
From http://www.php.net/manual/en/language.types.string.php :
"Strings may be concatenated using the '.' (dot) operator. Note that the '+'
(addition) operator will not work for this. Please see String operators for
more information."
ShutEye wrote:
>> What is the meaning of the dots (.) in the following line:
>>
>> echo "Days: ". $days. " Hours: " . $hours . " Minutes: " . $mins;
>
> From http://www.php.net/manual/en/language.types.string.php :
>
> "Strings may be concatenated using the '.' (dot) operator. Note that the
> '+' (addition) operator will not work for this. Please see String
> operators for more information."
Thanks ;)