codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Inserted row – Show last row inserted by Mysql

    1st August 2014

    MySql

    mysql codehaven category

    Maybe you want to know what was the last inserted record to the database. Add this straight after the MySQL statement.

    Laravel version is here

    Was this code snippet helpful?