Codeigniter PHP User Profile MODEL main Databse concate and user profile view page aur model se kese connect kare. MODEL se controller aur controller se view page ki conectivity kese ki jati hai. app meri ish blog ko ache se pade.
Codeigniter main Model ka main kaam kaya hota hai dear freinds agar app sikhna chate hai toh app meri ish blog ko ache se read kare.
Start Codeigniter User Profile Code in Model
/* -----------------------------------------------------------------------
My Account PROFIE CONCATE Model page view
----------------------------------------------------------------------*/
public function myaccount($email){
$this->db->select('*');
$this->db->from('user_data');
$this->db->where('email', $email);
return $this->db->get()->result_array();
}