Postingan lainnya
Error message: preg_match(): no ending delimiter '/' found
mengatasi masalah serror seperti gmn ya mohon penjelasannya:
Erronya: A PHP Error was encountered Severity: Warning Message: preg_match(): No ending delimiter '/' found Filename: libraries/Form_validation.php Line Number: 1073 Backtrace:
function nya seperti ini: public function edit_profil() { $this->cek_login();
if ($this->input->post('submit', TRUE) == 'Submit') {
$this->form_validation->set_rules('username','Username','required|trim|min_length[3]'); $this->form_validation->set_rules('fullname','Fullname',"required|trim|min_length[3]|regex_match[/^[a-z A-Z.']+$]"); $this->form_validation->set_rules('email','Email','required|trim|valid_email'); $this->form_validation->set_rules('password','Password','required');
if ($this->form_validation->run() == TRUE) { $get_data = $this->admin->get_where('t_admin',array('id_admin' => $this->session->userdata('admin')))->row();
if (!password_verify($this->input->post('password',TRUE), $get_data->password)) { echo ''; }
Mohon penjelasnnya untuk mengatasi hal tersebut….
Belum ada Jawaban. Jadi yang pertama Jawaban
Login untuk ikut Jawaban