Welcome Guest, Not a member yet? Register   Sign In
Unserialize data for inclusion in a csv string
#1

[eluser]Brad K Morse[/eluser]
v1.7.3

Code:
function exportCsv($venue_id) {
  $this->load->dbutil();
  $q = $this->db->select(
    'first_name, last_name, email, phone, contact_when, tshirt, thursday, friday, saturday, sunday, comments'
  )->where('venue_id',$venue_id)->order_by('last_name','asc')->get('data');
  
  return $this->dbutil->csv_from_result($q, ",", "\n");
}

Is it possible to unserialize the data of 4 fields (thursday, friday, saturday, sunday) with how it is set up now?


Messages In This Thread
Unserialize data for inclusion in a csv string - by El Forum - 02-08-2011, 09:55 PM
Unserialize data for inclusion in a csv string - by El Forum - 02-08-2011, 10:08 PM
Unserialize data for inclusion in a csv string - by El Forum - 04-22-2011, 11:21 AM
Unserialize data for inclusion in a csv string - by El Forum - 04-22-2011, 11:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB