check if db query start with and isset code example Example: php see if undefined if (isset($variable)) { /* do something */ };