Created
September 18, 2021 23:58
-
-
Save J2112O/793538688073cdea16c22019feb1cfdb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function users() { | |
$user_model = new UserModel(); | |
$data = [ | |
'first_name' => 'Jane', | |
'last_name' => 'Doe', | |
'dob' => '2021-01-01' | |
]; | |
$last_insert_id = $user_model->dataInsert($data); | |
echo 'Last Insert ID is: '. $last_insert_id; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment