codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Update then delete old record – Allow only 1 entry

    16th April 2014

    MySql

    mysql codehaven category

    Add code below straight after the last MySQL insert data statement.
    This passes the id number of that row to $inserted_row_id
    Then it deletes all you want, but that id number.

    Was this code snippet helpful?