|
@@ -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){
|