this is inside for or foreach loop # For concatenate use .= $var .= 'string'; # For adding the VALUES use += $var += 1;