php check if variable is set by name code example Example: if exist php if (isset($var)) { // Code here }