Exemplo n.º 1
0
 public function checkSupplier()
 {
     $name = $_POST['name'];
     require 'models/Stocks_model.php';
     $model = new Stocks_model();
     echo json_encode($model->checkSupplier($name));
 }