How to use mysqli->multi_query()?
问题 Can anyone show me how to use mysqli->multi_query() to execute multiple update/ insert queries on a single connection? Thanks. I did follow the tutorials in the PHP manual. But I have some issues. My batch of queries has 5 statements separated by semicolons. UPDATE scenes set UserID = '11111111' WHERE ID = '031DFDAD92F6F4AB64AF317C06D64089DF119EC2'; INSERT INTO surfaces (ID, Name, SceneID, SurfaceTypeID, Color) VALUES('5F9A7301C2D398C4D1B90BA5AA56A9DED3FAA639', 'front ',