This should be simple -- I am BRAND NEW to PHP... I have this code... foreach ($result as $value) { echo trim($value)."+"; this currently works as it should and let's say the input is hello -- the web output is "hello+helloa+hellob+helloc" as it should be (using the other code in the program before this... But.. I need to make it the variable so that a variable such as $car = "hello+helloa+hellob+helloc"... When I simply replace echo trim($value)."+"; with $car = trim($value)."+"; it keeps REPLACING the variable each time and not adding it onto the end. ANy help would be greatly appreciated.