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{