-6

Notice: Undefined index: id_desafilter in D:\Sofwares\XAMPP 7.5.5.0\htdocs\project2\views\filterdata.php on line 45

Notice: Undefined index: status_krlfilter in D:\Sofwares\XAMPP 7.5.5.0\htdocs\project2\views\filterdata.php on line 46

Alive to die - Anant
  • 70,531
  • 10
  • 51
  • 98

1 Answers1

0

that means that your variable may not be defined.

Use isset function.

You should wrap it into a condition like this :

if(!isset($id_desafilter)){
  $id_desafilter = "WHAT_YOU_WANT";
}
else{
 $id_desafilter = "WHAT_YOU_WANT";
}

This is how you can make sure your variable is define.

But please make sure to join your code to be helped

Have Fun :)

Lucas
  • 73
  • 1
  • 8