Welcome Guest, Not a member yet? Register   Sign In
$this->form_validation->error_array() not work

(12-11-2014, 03:01 AM)artha.nugraha Wrote: please help, i'll try this code in my localhost is working but not in may hosting server.

PHP Code:
public function register() {
          if ($this->form_validation->run() == false){
              return false;

Please turn on your error output and post that with this
try ini_set('display_errors', 1); in your index.php file.

Without seeing the error, could be
is_unique[user.username] is not working do to not being able to connect to database properly.
$this->output->set_output(json_encode([$this->form_validation->error_array()])); is not parsing correctly.

Messages In This Thread
RE: $this->form_validation->error_array() not work - by trentramseyer - 12-11-2014, 12:50 PM

Theme © iAndrew 2016 - Forum software by © MyBB