Welcome Guest, Not a member yet? Register   Sign In
html table class
#1

[eluser]misterdonut[/eluser]
$this->load->library('table');

Code:
$querystr = "SELECT id, fname, lname FROM cc_clients WHERE fname LIKE '%$searchstr%'
                OR lname LIKE '%$searchstr%'
                OR concat(lname,' ',fname) LIKE '%$searchstr%'
                OR concat(fname,' ',lname) LIKE '%$searchstr%'";
                    
    $query = $this->db->query($querystr);
    
    if ($query->num_rows() > 0)
    {
        echo $this->table->generate($query);
    }
so can i add something the table class dynamically?
like

like another table cell
<a href="client/check/5"> check </a>
where 5 is the id.


Messages In This Thread
html table class - by El Forum - 09-03-2008, 01:39 AM
html table class - by El Forum - 09-03-2008, 01:47 AM
html table class - by El Forum - 09-03-2008, 01:50 AM
html table class - by El Forum - 09-03-2008, 02:05 AM
html table class - by El Forum - 09-03-2008, 02:11 AM
html table class - by El Forum - 09-03-2008, 10:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB