prepare() bir PDO açıklamada herhangi bir quotes(') kaçış yok? Bunu nedense:
$sql = "INSERT INTO sessions (id, name) VALUES (1,'O'brian')";
$query = $this->connection->prepare($sql);
$query->execute();
Ben bu hatayı alıyorum:
Could not insert record SQLSTATE[42000]: [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'brian'.
I prepare() istimal bu nasıl olabilir?