예제 #1
0
파일: stocks.php 프로젝트: ROCKY-SAM/IOC
 public function editPumpReading()
 {
     $id = $_POST['Id'];
     $reading = $_POST['reading'];
     $date = $_POST['date'];
     $date = date("Y-m-d", strtotime($date));
     require 'models/Stocks_model.php';
     $model = new Stocks_model();
     $model->editPumpReading($id, $reading, $date);
 }