afam4eva Posted November 8, 2009 Share Posted November 8, 2009 How do i run two sql queries in PHP. Quote Link to comment https://forums.phpfreaks.com/topic/180756-how-do-i-run-an-sql-multi-query-in-php/ Share on other sites More sharing options...
Mchl Posted November 8, 2009 Share Posted November 8, 2009 Can't do that with ext\mysql. You need to use mysqli mysqli_multi_query (Or you can just run several mysql_query / mysqli_query one after another) Quote Link to comment https://forums.phpfreaks.com/topic/180756-how-do-i-run-an-sql-multi-query-in-php/#findComment-953645 Share on other sites More sharing options...
afam4eva Posted November 20, 2009 Author Share Posted November 20, 2009 Can't do that with ext\mysql. You need to use mysqli mysqli_multi_query (Or you can just run several mysql_query / mysqli_query one after another) Pls tell me what's gonna be inside the parenthesis () Quote Link to comment https://forums.phpfreaks.com/topic/180756-how-do-i-run-an-sql-multi-query-in-php/#findComment-961858 Share on other sites More sharing options...
Mchl Posted November 20, 2009 Share Posted November 20, 2009 Isn't manual clear enough about it? Quote Link to comment https://forums.phpfreaks.com/topic/180756-how-do-i-run-an-sql-multi-query-in-php/#findComment-961865 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.