php hot to heck if a variable is set code example Example: if exist php if (isset($var)) { // Code here }