[Solved] How to get the value which user has selected in php?


<?php
if($_POST['select']){
  // Storing selected value in a variable
  $selectedValue= $_POST['holiday'];

if ($selectedValue == 'month') {
 
}
else if ($selectedValue == 'day') {
 
}
else{
  echo "Lalalala";
}
}
?>

solved How to get the value which user has selected in php?