how to set a default value for a parameter in php code example
Example: php assign value to variable with default
$default_carat_min = $_COOKIE["diamond-search_caratMin"] ?: "0.25";
$default_carat_min = $_COOKIE["diamond-search_caratMin"] ?: "0.25";