Beispiel #1
0
 public function Update($table, $column, $value1, $where, $value2)
 {
     try {
         $sqlString = parent::UpdateString($table, $column, $where);
         $statement = $this->isConnect->prepare($sqlString);
         $statement = parent::bindState($statement, $column, $value1);
         $statement = parent::bindState($statement, $where, $value2);
         $statement->execute();
     } catch (PDOException $e) {
         parent::ErrorException('Update', $e, $sqlString);
     }
 }