コード例 #1
0
ファイル: Dao.php プロジェクト: kaka987/YoungYaf
 public function delete($table, $where)
 {
     $db = new Ym_DB(self::$dbEnv, 'write');
     $sql = ' DELETE FROM `' . $table . '` WHERE ' . $where;
     $result = $db->query($sql);
     return $result;
 }