SyntaxFix
Write A Post
Hire A Developer
Questions
You can use
if defined (variable) echo That's defined! if not defined (variable) echo Nope. Undefined.