string concatination
| From: | Matthew Oatham | Date: | Tue, 23 Mar 2004 23:58:41 +0000 |
| Subject: | string concatination | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-181332@lists.php.net to get a copy of this message | ||
Hi,
What is the correct way, using php to join to strings, vars or other wise.
i.e. how do I join
$string1 = "hello";
$string2 = "world";
do i do
$string1 . $string2;
and what about ..
$string2 = $string1 . "world";
Is that correct?