This script is for export csv from database table in php