Here is the simple PHP function for testing given data is null or empty string.
function IsNullOrEmptyString($data){ return (!isset($data) || trim($data)===''); }
Tutorials focused on Web Development, ReactJS, JavaScript, PHP, Database Design, Devops
Here is the simple PHP function for testing given data is null or empty string.
function IsNullOrEmptyString($data){ return (!isset($data) || trim($data)===''); }