Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getManufacturerDescriptions($manufacturer_id) {
- // $manufacturer_description_data = array(); //array zakomentiran, ker ni delal, vraca samo description iz prve vrstice selecta
- $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "manufacturer_description WHERE manufacturer_id = '" . (int)$manufacturer_id . "'");
- // foreach ($query->rows as $result) {
- // $manufacturer_description_data = array(
- // 'description' => $result['description']
- // );
- // }
- return $query->row['description'];
- }
Add Comment
Please, Sign In to add comment