• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Accessing last_insert_id from PHP

Accessing last_insert_id from PHP 10 years 10 months ago #28137

I expect to run into a situation tonight where getting the last_insert_id by querying based on the data I just inserted or updated, won't be adequate due to the logic not calling for uniques -- so I want to get past this hump now.

When nothing else will do, how do I get the last_insert_id (from a Mapping insert), as such, from within the PHP script called after processing?

PS: If it's not possible, and I'll have to eschew Mapping for manual coding, then this page needs to be corrected and also :(
www.rsjoomla.com/support/documentation/v...602-php-scripts.html
"The scripts called after form process is triggered after emails have been sent and the data has been saved into the database."
Last Edit: 10 years 10 months ago by nathanhawks.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!