Welcome Guest, Not a member yet? Register   Sign In
Mysql start-complete
#2

You only need the trans_start and trans_complete functions if you want to update or insert records in multiple tables. If one of the updates or inserts fails, the entire transaction will be rolled back.
If you retrieve records by a unique ID, the result can only be one record (row).
PHP Code:
return $result->row(); 
will do.
Reply


Messages In This Thread
Mysql start-complete - by Marcel - 12-16-2016, 02:40 AM
RE: Mysql start-complete - by Wouter60 - 12-16-2016, 03:55 AM
RE: Mysql start-complete - by Marcel - 12-16-2016, 03:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB