// 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
}
}
Our Baltimore Real Estate Attorneys take the time to talk to you, evaluate your matter, and craft the best, most cost effective solution to address your needs.
Other Listings
6 E Biddle St Baltimore, MD 21202 Midtown Belvedere, Baltimore
(0 reviews)
2835 Smith Ave, #204, Baltimore, MD 21209, USA, Baltimore
(0 reviews)