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

[ad_1]

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

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

[ad_2]

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