コード例 #1
0
ファイル: Catalogue.php プロジェクト: Shifdra/smart-cottage
 public function getStoreNamesByRetailer($retailerName)
 {
     $selector = new DBSelect('localhost', 'root', '', 'mydb');
     $result = $selector->selectStoreNamesByRetailer($retailerName);
     $selector = null;
     $names = array();
     foreach ($result as $row) {
         foreach ($row as $column) {
             array_push($names, $column);
         }
     }
     return $names;
 }