public function ile_razy() { $this->lottery = $this->pdo->prepare("SELECT * FROM xxx WHERE login=?"); $this->data = $this->lottery->fetch(); }
public function ile_razy() { $this->lottery = $this->pdo->prepare("SELECT * FROM xxx WHERE login=?"); $this->data = $this->lottery->fetch(); }
public function ile_razy() { $this->lottery = $this->pdo->prepare("SELECT COUNT (*) FROM xxx WHERE login=?"); return $this->lottery->fetch(); }
PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 Something is wrong in your syntax obok '*) FROM xxx WHERE login=php'