This is my employee table
empid name Date_of_joining
1 dilip 2010-01-30
2 suresh 2001-03-01
3 ramesh 2003-01-01
我想员工日期以获得加入 预期输出 year new joining total employees
2001
我需要创建这样一个URL:www.example.com/index.php/scheda/name-surname-id.html 所以我创建Scheda控制器,这是代码: <?php if (! defined('BASEPATH')) exit('No direct script access allowed');
class Scheda extends CI_Controller{