// 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
}
}
Pelham Used Cars & Automotive Center
FIND YOUR NEXT CAR AT PELHAM USED CARS & AUTOMOTIVE CENTER
Other Listings
215-03 Jamaica Ave, Queens Village, NY 11428, United States
(0 reviews)
150-01 Hillside Avenue # 101, Jamaica, NY 11432, United States
(0 reviews)
1649 E New York Ave, Brooklyn, NY 11212, United States
(0 reviews)