Say one were looking at transitioning a codebase from using the basic PHP mysql_*
functions to a mysqli
implementation. Can connections to the same database be used side-by-side in both interfaces, or is there some way in which they can interfere with one another?
Asked
Active
Viewed 351 times
2

chaos
- 122,029
- 33
- 303
- 309
1 Answers
4
They wouldn't share a connection, so transactions wouldn't work properly if you transitioned part of the transaction code to mysqli (e.g. if you called a function from within a transaction, and changed the function code to use mysqli but not the calling code).

Greg
- 316,276
- 54
- 369
- 333