Might have fixed the problem
didnt fix.. so commenting code again..
The implode maybe erroring..
Trying again.. hopefully works..