$profil = $show->show_user($this->_request->getParam("user")); $this->view->error_text = "A"; } elseif($profil == 1) $this->view->error_text = "Parametr nie jest zmienną ID !!"; elseif($profil == 2)$this->view->error_text = "Nie ma takiego użytkownika";
Ciągle wyświetla mi warunek "Parametr nie jest zmienną ID

Tu dodam jak wygląda funkcja show_user():
public function show_user($id){ $sql_user = $this->fetchAll($this->select()->where("id = ?",$id)); return $sql_user; } //nie ma takiego użytkonwika o tym ID else return 2; } //$id nie jest liczbą !! else return 1; }