-4
我的代碼,請幫助我曾多次嘗試和錯誤中我的代碼請幫助語法錯誤,意外「=>」(T_DOUBLE_ARROW)
$data =('nidn' => $this->input->post('nidn', TRUE));
$pswd=('pswd' => $this->input->post('pswd', TRUE))
`
public function cek_login() {
$data =('nidn' => $this->input->post('nidn', TRUE));
$pswd=('pswd' => $this->input->post('pswd', TRUE));
$this->load->model('Level_user'); // load model_user
$hasil = $this->Level_user->cek_user($data,$pswd);
`
已經添加陣列中碼$ DAT固定誤差a = array('nidn'=> $ this-> input-> post('nidn',TRUE)); –
確定完成謝謝 –
@FathulHudoyo如果幫助和工作不要接受答案 – user4419336