Welcome Guest, Not a member yet? Register   Sign In
Copy data from one table and insert to another
#8

[eluser]red2034[/eluser]
Actually I'm not able to get my anchor to work...

Code:
<a href="&lt;?php echo base_url();?&gt;index.php?student/classes/launch/&lt;?php echo $row['class_id'] . '/' . $row['deep_link'];?&gt;" class="btn btn-gray btn-small">
                                    &lt;?php echo get_phrase('launch');?&gt;
                                    </a>

Code:
if ($param1 == 'launch') {
       $class_info = $this->db->get_where('class' , array('class_id' => $param2))->row_array();
       $data['status'] = 'in-progress';
       $this->db->where('class_id', $param2);
       $this->db->update('class', $data);
    $class_link = $param3;

   anchor($class_link, 'title="title"', array('target' => '_blank', 'class' => 'new_window'));
     }


Messages In This Thread
Copy data from one table and insert to another - by El Forum - 02-14-2014, 01:10 PM
Copy data from one table and insert to another - by El Forum - 02-14-2014, 02:56 PM
Copy data from one table and insert to another - by El Forum - 02-14-2014, 03:05 PM
Copy data from one table and insert to another - by El Forum - 02-14-2014, 04:12 PM
Copy data from one table and insert to another - by El Forum - 02-14-2014, 07:33 PM
Copy data from one table and insert to another - by El Forum - 02-15-2014, 11:19 AM
Copy data from one table and insert to another - by El Forum - 02-15-2014, 04:22 PM
Copy data from one table and insert to another - by El Forum - 02-16-2014, 09:48 AM
Copy data from one table and insert to another - by El Forum - 02-16-2014, 01:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB