// 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 } }
210 E Trade St Ste E-484 Charlotte, NC 28202 Uptown, Charlotte
50 N College St Ste 1100 Charlotte, NC 28202 Uptown, First Ward, Charlotte
9711 David Taylor Dr Ste 211 Charlotte, NC 28262 Highland Creek, Charlotte
205 Regency Executive Park Dr Ste 510 Charlotte, NC 28217 Starmount, Charlotte
602 E Morehead St G. G. Galloway House Charlotte, NC 28202 Dilworth, Charlotte
212 North McDowell St Ste 200 Charlotte, NC 28204 Uptown, Charlotte
130 N Mcdowell St Ste C Charlotte, NC 28204 First Ward, Uptown, Charlotte