Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getManufacturerDescriptions($manufacturer_id) {
- $manufacturer_description_data = array();
- $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 $manufacturer_description_data;
- }
Add Comment
Please, Sign In to add comment