예제 #1
0
파일: stocks.php 프로젝트: ROCKY-SAM/IOC
 public function editSupplier()
 {
     $id = $_POST['id'];
     $name = $_POST['name'];
     $email = $_POST['email'];
     $contact = $_POST['contact'];
     require 'models/Stocks_model.php';
     $model = new Stocks_model();
     if ($model->editSupplier($id, $name, $email, $contact)) {
         echo "Success";
     }
 }