// 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
}
}
Korean Traditional Comfort Food Restaurant. Specialties: Yuk Gae Jang & Bossam
Other Listings
624 S La Brea Ave Los Angeles, CA 90036 Hancock Park, Los Angeles
(0 reviews)
225 N Larchmont Blvd Los Angeles, CA 90004 Windsor Square, Los Angeles
(0 reviews)