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
Major Differences are: Git and Mercurial are the two most popular Distributed Version... read more
ERROR - 2017-02-18 14:17:00 --> Could not find the specified $config['composer_autoload'] path:... 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
Simple Syntax: chmod 744 yourfile.ext Below Codes can be helpful to set permissions 400... read more
As per official bootstrap documentation about "sr-only CSS class":
Below are the steps: 1) Open File Explorer 2) Click on View Tab 3) Click/Check... read more
In simple words, class is a user defined datatype. Which have its... read more
Create a DIR in your laravel app root and name it "myapp", you... read more
Leave a Reply