My CodeIgniter project runs well on localhost but when I uploaded it on live server produce some errors like this:
ERROR: "unexpected T_CONSTANT_ENCAPSED_STRING"
in this part of code:
$username = $this->input->post('username');
$email = $this->input->post('email');
$password = $this->input->post('password'); $flag = 0;
$data = $this->user_model->Signup_user((
'username' => $username
'email' => $email
'password' => $password
'flag' => $flag
));