public function loadLubricants() { require 'models/Stocks_model.php'; $model = new Stocks_model(); echo json_encode($model->loadLubricants()); }