public function isDbTableExists($tableName)
    {
        $status = false;
        $resultSet = array();

        $query = $this->executeRawQuery("SHOW TABLES LIKE '".trim($tableName)."';");
        if($resultSet)
            $resultSet = $query->toArray();



        if(!empty($resultSet)) {
            $status = true;

        }

        return $status;
    }
public function isDbTableExists($tableName)
    {
        $status = false;
        $resultSet = array();

        $query = $this->executeRawQuery("SHOW TABLES LIKE '".trim($tableName)."';");
        if($resultSet)
            $resultSet = $query->toArray();



        if(!empty($resultSet)) {
            $status = true;

        }

        return $status;
    }
public function isDbTableExists ( $ tableName ) { $ status = false ; $ resultSet = array ( ) ; $ query = $ this -> executeRawQuery ( "SHOW TABLES LIKE '" . trim ( $ tableName ) . "';" ) ; if ( $ resultSet ) $ resultSet = $ query -> toArray ( ) ; if ( ! empty ( $ resultSet ) ) { $ status = true ; } return $ status ; }
Checks if the table exists or not
@param String $tableName
@return boolean
Checks if the table exists or not