marketing.php 251 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 <?php class ModelCheckoutMarketing extends Model { public function getMarketingByCode($code) { $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "marketing WHERE code = '" . $this->db->escape($code) . "'"); return $query->row; } }