SQLite Forum

Return boolean if item EXISTS in database
Login
SQLite does not have a boolean type, and returns 0 or 1.

Compare against 0 or 1, or use `if ($EntryExistsBoolean) {...}`.