SOLUTION :1 We generally use when working with transactions looks like this (semi-pseudo-code): [ad type=”banner”] Note that, with this idea, if a query fails, an Exception must be thrown: PDO…
Using MySQL variable with PHP variable within a transaction
1 Article
1