Beispiel #1
0
 public function loadPumpReadings()
 {
     require 'models/Stocks_model.php';
     $model = new Stocks_model();
     $id = $_GET['pumpno'];
     echo json_encode($model->loadPumpReadings($id));
 }