MySQL Forums
Forum List  »  PHP

Re: swap rows in database
Posted by: Arjan Demoed
Date: May 23, 2016 06:21AM

Thanks a lot Peter! That solved my problem. :)
Done this with Laravel framework. Note that if you want to use variables in the transaction you need to declare the USE statement after function(). Otherwise your variables will not work. Took me a while to find that...

Options: ReplyQuote


Subject
Written By
Posted
May 23, 2016 01:10AM
Re: swap rows in database
May 23, 2016 06:21AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.