Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'template' in 'field list' in code example
Example: Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'autos_id' in 'field list' in
$stmt = $con->prepare("SELECT Username, Password FROM users WHERE Username = ? AND Password = ?");