PDOException Object ( [message:protected] => SQLSTATE[42S22]: Column not found: 1054 Unknown column 'contact' in 'where clause' [string:Exception:private] => [code:protected] => 42S22 [file:protected] => /home/benjaminrh/www/model/m_projects.php [line:protected] => 42 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/benjaminrh/www/model/m_projects.php [line] => 42 [function] => query [class] => PDO [type] => -> [args] => Array ( [0] => SELECT * FROM projets WHERE id = contact ) ) [1] => Array ( [file] => /home/benjaminrh/www/controller/c_project.php [line] => 12 [function] => get_by_id [class] => Projects [type] => :: [args] => Array ( [0] => contact ) ) [2] => Array ( [file] => /home/benjaminrh/www/index.php [line] => 32 [args] => Array ( [0] => /home/benjaminrh/www/controller/c_project.php ) [function] => require ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42S22 [1] => 1054 [2] => Unknown column 'contact' in 'where clause' ) )