RE: [PHP] string concatination

2004-03-23 Thread Chris W. Parker
Matthew Oatham 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; [s

[PHP] string concatination

2004-03-23 Thread Matthew Oatham
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?