the statement:
SET @v1 = 5; select @v1
the mysqli error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL
server version for the right syntax to use near '; select @v1' at line 1
This runs just fine in phpmyadmin though. What's the problem with running it with mysqli ?
The prepare fails.