// 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 } }
295 Devonshire St Boston, MA 02110 Winthrop Sq & Summer St Downtown, Boston
437 Boylston St Fl 5 Boston, MA 02116 Arlington St & Berkeley St Back Bay, Boston
907 Massachusetts Ave Cambridge, MA 02139 Central Square, Boston
100 State St Ste 900 Boston, MA 02109 Butler Row & Broad St Financial District, Boston
1 Washington Mall Ste 1106 Boston, MA 02108 Downtown, Boston
303 Congress St Boston, MA 02210 Sleeper St Waterfront, South Boston, Boston
75 Arlington St Ste 500 Boston, MA 02116 St James Ave & Columbus Ave Back Bay, Boston
268 Summer St Boston, MA 02210 Melcher St & A St Waterfront, South Boston, Boston
185 Devonshire St Ste 601 Boston, MA 02110 Winthrop Sq & Milk St Financial District, Boston
20 Park Plz Ste 432 Boston, MA 02116 Hadassah Way & Arlington St Back Bay, Boston
1330 Boylston St Ste 100 Chestnut Hill, MA 02467, Boston