Browse Source

Restored $conn->commit()

Foppe Hemminga 6 năm trước cách đây
mục cha
commit
dbad7c795a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ajax.php

+ 1 - 1
ajax.php

@@ -57,7 +57,7 @@ function parse_data()
 			$sth->bindParam( ':start_time', $time );
 			$sth->execute();
 		}
-		// $conn->commit();
+		$conn->commit();
 		echo $_GET['callback'] . '(' . json_encode($return ). ')';
 		$conn = null;
 	}catch (PDOException $e){