89999/how-do-i-get-the-last-inserted-id-of-a-mysql-table-in-php
Hello @kartik,
If you're using PDO, use PDO::lastInsertId.
If you're using Mysqli, use mysqli::$insert_id.
Hope it works!! Thank You!!
Hello @kartik, Use this query: SELECT User FROM mysql.user; Which ...READ MORE
Hello @kartik, pathinfo() $path_info = pathinfo('/foo/bar/baz.bill'); echo $path_info['extension']; // "bill" Hope ...READ MORE
Hello @kartik, __CLASS__ always returns the name of the ...READ MORE
Hello @kartik, You'll be wanting to use glob() Example: $files = ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Named route is used to give specific ...READ MORE
Hello, This is simple you just need to ...READ MORE
Hey @kartik, Named routing is another amazing feature of ...READ MORE
Hello @kartik, Suppose, item_id is an integer identity column in items table ...READ MORE
Hello @kartik, If your PHP server allows url ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.