Check on the value of using preg_match
Check on the value (STRING) using preg_match
<?php
if (is_string($resolve)) {
$resolve = ( preg_match("/false|no|off/i", $resolve) ) ? false : true;
}
Leave a comment
Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.