I have a little syntax error with a php fix (I'm a newbie in php), it happens that I need to send my form the load of 2 different tables to 2 select, both models work for me, and each probe and if the load. But sending both inside an array does not work for me. I get unexpected syntax error '=' waiting ')'. I have tried the arrangement in different ways but it does not work for me. HELP PLEASE
public function registroC()
{
$data['titulo'] = 'Registrar Ciudadano';
$datos = array(
['localidades'] = $this->Registros_model->mostrarloc(),
['colonias'] = $this->Registros_model->mostrarcol());
$this->load->view('plantillas/header', $data);
$this->load->view('registro', $datos);
$this->load->view('plantillas/footerlog');
}