// 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
}
}
DCHHA
Other Listings
530 Valley Mall Pkwy Ste 10 East Wenatchee, WA 98802, Washington
(0 reviews)
21400 International Blvd Seatac, WA 98198 216th St & S Pacific Hwy, Washington
(0 reviews)
7826 Eastern Ave NW Ste Ll16, Washington, DC 20012, Washington
(0 reviews)