I wanted to execute multiple queries in one. Is there a way to c开发者_如何学Goondense a bunch of queries into one big string and then execute it? Thanks in advance.
Just use mysqli
It is the successor to the mysql functions and also exists in either procedural an object oriented implementation.
It can do multiple querys per one session and even return all different sets after the multi query. for more information read:
multi_query()
yes it's called a stored procedure - use 'em !!
精彩评论