[PHP] Re: string concatenation from array

2003-08-14 Thread Micah Montoy
Thanks a bunch. Problem solved. "Micah Montoy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm having a bit of difficulty getting a string to attach to itself from an > array. Here is the bit of code I'm working on. > > $wresult = ""; > > foreach ($search_string as $word_resu

[PHP] Re: string concatenation from array

2003-08-14 Thread Fabio Rotondo
Micah Montoy wrote: I'm having a bit of difficulty getting a string to attach to itself from an array. Here is the bit of code I'm working on. $wresult = ""; foreach ($search_string as $word_result){ $wresult = $wresult & " " & $word_result; } what about: $wresult = join ( " ", $search_strin