how to check if variable exist php code example Example: if exist php if (isset($var)) { // Code here }