Matthew Oatham <mailto:[EMAIL PROTECTED]>
    on Tuesday, March 23, 2004 3:59 PM said:

> Hi,

hi.

> What is the correct way, using php to join to strings, vars or other
> wise. 

[snip]

> i.e. how do I join
> 
> $string1 = "hello";
> $string2 = "world";
> 
> do i do
> 
> $string1 . $string2;

[snip]

> Is that correct?

that's correct except that the result won't go anywhere (but maybe you
already knew this?).

$string3 = $string1.$string2;



chris.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to