Welcome Guest, Not a member yet? Register   Sign In
How to handle checkboxes
#4

(This post was last modified: 11-24-2014, 02:37 PM by Rufnex.)

PHP Code:
foreach($this->input->post('attachments') as $attachement)
{
    if (
$attachement == 'nui')
    {
        
$this->email->attach('/attachments/somefile.pdf');
    } 
    
// etc.


Reply


Messages In This Thread
How to handle checkboxes - by alexandervj - 11-24-2014, 02:02 PM
RE: How to handle checkboxes - by Rufnex - 11-24-2014, 02:23 PM
RE: How to handle checkboxes - by alexandervj - 11-24-2014, 02:31 PM
RE: How to handle checkboxes - by Rufnex - 11-24-2014, 02:36 PM
RE: How to handle checkboxes - by alexandervj - 11-24-2014, 02:50 PM
RE: How to handle checkboxes - by Rufnex - 11-24-2014, 02:52 PM
RE: How to handle checkboxes - by alexandervj - 11-24-2014, 02:57 PM
RE: How to handle checkboxes - by Rufnex - 11-24-2014, 03:07 PM
RE: How to handle checkboxes - by alexandervj - 11-24-2014, 03:48 PM
RE: How to handle checkboxes - by Rufnex - 11-24-2014, 03:52 PM
RE: How to handle checkboxes - by alexandervj - 11-24-2014, 03:55 PM
RE: How to handle checkboxes - by InsiteFX - 11-24-2014, 11:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB