It has to be something other than that. Because the values from the array are being added to the variable and not replacing them.
example:
$intAutoOptions = $intAutoOptions.$value
It prints the above line out fine outside of the foreach loop. But it wont print out the
$intAutoOptions = $intAutoOptions.", ":
line unless its within the loop. If I try to print it outside of the loop it prints all of the values correctly but not the spaces and commas.
Print out from within the loop:$intAutoOptions
a/c, air bags, cd player, moon roof
Print out from outside the loop:$intAutoOptions
a/cair bagscd playermoon roof
Also, the getdefinitions() is how I retrieve the appropriate autoOption from the database