Answers for "add default value to a variable in php"

PHP
2

php assign value to variable with default

$default_carat_min = $_COOKIE["diamond-search_caratMin"] ?: "0.25";
Posted by: Guest on August-18-2020

Code answers related to "add default value to a variable in php"

Browse Popular Code Answers by Language