I am working on something here, I have a button, when you click on this button I want another page to open in a new window and not a new tab.
How would I do this in codeigniter?
I have a function in my controller like so
function print_members(){
        $this->load->model('common_model');
        $data = $this->common_model->general();
        $data['members'] = $this->common_model->all_members();
        $this->load->view('print_members', $data);
    }
and when the user clicks on my input button
<?php echo form_open('controller/print_members', array('id'=>'form', 'target' =>'_blank')); ?> 
            <input id="print" type="submit" name="print" value="Print"/>
            <? echo form_close(); ?>
I am basically looking for away to open `controller/print_members' function in a new window. The following code aboves opens it in a new tab.
 
    