// 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
}
}
Emily J. Schaefer DDS
Dr. Emily Schaefer and her team are attentive to your needs. We want your total experience here to be a good one and believe in providing quality work that does not sacrifice your comfort.
Other Listings
2121 Main St Faculty Workroom, Buffalo, NY 14214, Buffalo
(0 reviews)
295 Englewood Ave, Buffalo, NY 14223, Buffalo
(0 reviews)
1603 Hertel Ave, Buffalo, NY 14216, Buffalo
(0 reviews)