Greetings,I'm trying to write a generic isNullEmpty function that takes an object name as a parameter and checks if it exisits and/or if its value is empty. how can I check the existance of an object name when it's passed in as a function parameter? the code below does NOT work. Thanks.
PHP Code:
function isNullEmpty(objName)
   if (eval(
      return (eval(
objName) == '');  //eval() is not working.