Answers for "check input value is not empty or spaced php"

PHP
0

check input value is not empty or spaced php

if(empty(trim($myVar))) {
    echo "Error"
} else {
    echo "success";
}
Posted by: Guest on March-02-2022

Code answers related to "check input value is not empty or spaced php"

Browse Popular Code Answers by Language