I have the following error:
Fatal error: Can't use method return value in write context in /home/username/public_html/Administrar/application/controllers/holerites.php on line 29
The following sequence of lines 29 follows:
if(empty($this->input->post('periodo'))) $periodo = date("m")+1; else $periodo = $this->input->post('periodo');
if(empty($this->input->post('dataInicial'))) $data_inicial = ""; else $data_inicial = $this->input->post('dataInicial');
if(empty($this->input->post('dataFinal'))) $data_final = ""; else $data_final = $this->input->post('dataFinal');
I have no idea why, on localhost it works but not on the server.