标签: php codeigniter
如果我再次遇到intval()错误,我想转换一个整数值
intval()
<?php $last = $this->db->select('pt_id')->order_by('pt_id',"desc")->limit(1)->get('patient_details')->row(); //$myvar = (int)($last); print_r($last); ?>