How to check multiple isset($_POST['something'])
? with below mentioned code function is call without set anything? what mistake am I doing
My code is here
if(!isset($_POST['username']) || $_POST['email'] || $_POST['password'] || $_POST['confirm_pass'] || $_POST['gender'] || $_POST['country']== "")
{ $username = $this->input->post('username');
$email = $this->input->post('email');
$password = $this->input->post('password');
$confirm_password = $this->input->post('confirm_pass');
$gender = $this->input->post('gender');
$country = $this->input->post('country');
$this->signupdata->submit_data($username,$email,$password,$confirm_password,$gender,$country);
exit(); }
$this->load->view('signup_view');