How to get last insert id in Codeigniter
$this->db->insert(‘users’, $data); # where $data is an array
$insert_id = $this->db->insert_id(); # insert_id() fucntion returns last insert id
return $insert_id;
$this->db->insert(‘users’, $data); # where $data is an array
$insert_id = $this->db->insert_id(); # insert_id() fucntion returns last insert id
return $insert_id;
A recent research report has revealed that more than 90% of all... read more
There are certain formal settings (like a conference, meeting or classroom) where... read more
As per official bootstrap documentation about "sr-only CSS class": Always add labels Screen readers... read more
Fork a Repo. A fork is a copy of a repository. Forking... read more
After a lots of headache, I find the solutions. I am using... read more
Major Differences are: Git and Mercurial are the two most popular Distributed Version... read more
Symfony\Component\Debug\Exception\FatalThrowableError thrown with message "Class 'App\Http\Requests\Input' not found Laravel" Stacktrace: #0 Symfony\Component\Debug\Exception\FatalThrowableError in C:\Server\nigix\www\mi\app\Http\Requests\RegistrationForm.php:33 read more
If you are a victim of Browser Modifier Virus ( malware ) Browser... read more
Leave a Reply