I need to add columns to an existing csv file ,but i can\'t find any solution to the problem.I have used \"\\t\" and chr(9) to create columns but no success so please help m
Try this, and have a look at fgetcsv() and fputcsv() in the manual