Order by Dalam Codeigniter

sance ainul yakin


order by in code igniter

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Tampil_model extends CI_Model {

public function prosesTampil(){
$this->db->order_by('id','DESC');
return $this->db->get('tb_login')->result_object();
}
}


Order by Dalam Codeigniter Order by Dalam Codeigniter Reviewed by Leo on 07:52 Rating: 5

No comments