Просмотр исходного кода

Added primitive ajax.php for testing

Foppe Hemminga 6 лет назад
Родитель
Сommit
0caa25db0d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ajax.php

+ 1 - 1
ajax.php

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