Esempio n. 1
0
 public function addProducts($col = 'barCode', $v)
 {
     $db = new Products_Mod();
     if ($res = $db->add($dataList)) {
         print_r($res);
     }
 }
Esempio n. 2
0
 public function findCode($code)
 {
     $db = new Products_Mod();
     return $db->find($code);
 }