Category: CodeIgniter

0

PHP CodeIgniter export excel

<?php //in a library file export.php if (!defined(‘BASEPATH’)) exit(‘No direct script access allowed’); /* * Excel library for Code Igniter applications * Based on: Derek Allard, Dark Horse Consulting, www.darkhorse.to, April 2006 * Tweaked...

0

PHP CodeIgniter send email

$this->load->library(’email’); $config[‘charset’] = ‘iso-8859-1’; $config[‘wordwrap’] = TRUE; $config[‘mailtype’] = “html”; $this->db->where(‘TYPEDATE’,’31’); $a = $this->db->get(‘web_init’); $a = $a->row_array(); $contentemail = $a[’emailcontent’]; //content email $subjectemail = $a[’emailsubject’]; //subject email $noreplyemail = $a[‘noreplyemail’]; //from email //echo $noreplyemail;...