Re: Fatal error: Unsupported operand
Ok I try it:
In MySQL, there are different table types (InnoDB, MyISAM) ect. Depending on which table is selected, the table and thus the different database options. The databases of the major suppliers all working with transactions. This means that einern on write operations to database table (and thus ultimately also to the data file) before the start, the table must be locked (MySQL Lock Table …). Otherwise, simultaneous write operations from different users would hinder each other.
Transaction secure databases to organize against it, the result itself either to each write a Commit (autocommit) or by the developer can set for major changes to the databases of critical operations begin even before a marker and then with a rollback return there. Almost as if nothing had happened.
So if you are using MySQL InnoDB tables, then you need a driver supports the transaction security. Otherwise not. Then you have to worry even for Lock and Unlock.
I have learned to Oracle databases, so I always prefer secure transaction databases. Is less complicated at the end …