PDO Error Handling: check if records or rows exist (SQLite)
When selecting records from SQLite using PDO, no columns are returned if there are no records returned from your query.
Many (or most) databases will return column names even when a query returns no records; not the case in SQLite,
therefore, i...