I import a CSV file with the following code (extract):
while(($line = fgetcsv($csvFile, 0, "\t")) !== FALSE){
//some mysql insert
$aff[] = $line[12];
}
Now I need to get some items to use them later in the code. I added the $aff variable, but was not able to create a string from the items. The final string should be seperated with a comma: a, b, c How can I do that? If I print the $aff out, it only says "Array".