Exemplo n.º 1
0
 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);
 }