// Register a new vendor public function register($user_data) { // Ensure $user_data is an associative array if (is_array($user_data) && !empty($user_data)) { $this->db->insert('vendor', $user_data); return true; } else { return false; } } // Check if an email already exists public function check_email_exists($email) { $this->db->where('vendor_email', $email); $query = $this->db->get('vendor'); if ($query->num_rows() > 0) { return true; // Email exists } else { return false; // Email doesn't exist } } Find To Go | Free Business Directory | 10,000+ Local Ads

Our Top City

Carrie's VIP Body Care

2016 25 Ave NE, #7A, Calgary, AB T2E 6Z4, Calgary

(0 reviews)

Kama

211 11 Ave SW, #110, Calgary

(0 reviews)

Brenda Motter Interiors LTD

438 11 Avenue SE, #600, Calgary

(0 reviews)