久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <legend id='cTW3s'><style id='cTW3s'><dir id='cTW3s'><q id='cTW3s'></q></dir></style></legend>

    <tfoot id='cTW3s'></tfoot>
    <i id='cTW3s'><tr id='cTW3s'><dt id='cTW3s'><q id='cTW3s'><span id='cTW3s'><b id='cTW3s'><form id='cTW3s'><ins id='cTW3s'></ins><ul id='cTW3s'></ul><sub id='cTW3s'></sub></form><legend id='cTW3s'></legend><bdo id='cTW3s'><pre id='cTW3s'><center id='cTW3s'></center></pre></bdo></b><th id='cTW3s'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='cTW3s'><tfoot id='cTW3s'></tfoot><dl id='cTW3s'><fieldset id='cTW3s'></fieldset></dl></div>
  • <small id='cTW3s'></small><noframes id='cTW3s'>

      <bdo id='cTW3s'></bdo><ul id='cTW3s'></ul>
      1. &quot;命令不同步;你現在不能運行這個命令

        quot;Commands out of sync; you can#39;t run this command nowquot; - Caused by mysqli::multi_query(quot;命令不同步;你現在不能運行這個命令- 由 mysqli::multi_query 引起)

        <small id='Z0S4f'></small><noframes id='Z0S4f'>

        1. <tfoot id='Z0S4f'></tfoot>

          <legend id='Z0S4f'><style id='Z0S4f'><dir id='Z0S4f'><q id='Z0S4f'></q></dir></style></legend>

            <tbody id='Z0S4f'></tbody>
            <bdo id='Z0S4f'></bdo><ul id='Z0S4f'></ul>
            <i id='Z0S4f'><tr id='Z0S4f'><dt id='Z0S4f'><q id='Z0S4f'><span id='Z0S4f'><b id='Z0S4f'><form id='Z0S4f'><ins id='Z0S4f'></ins><ul id='Z0S4f'></ul><sub id='Z0S4f'></sub></form><legend id='Z0S4f'></legend><bdo id='Z0S4f'><pre id='Z0S4f'><center id='Z0S4f'></center></pre></bdo></b><th id='Z0S4f'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Z0S4f'><tfoot id='Z0S4f'></tfoot><dl id='Z0S4f'><fieldset id='Z0S4f'></fieldset></dl></div>

                • 本文介紹了&quot;命令不同步;你現在不能運行這個命令"- 由 mysqli::multi_query 引起的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在通過 mysqli::multi_query 運行多個刪除操作,但它搞亂了下一個查詢.正在拋出以下錯誤.

                  I am running multiple deletes through mysqli::multi_query and it is messing up the next query in line. The following error is being thrown.

                  Error - SQLSTATE HY000. 
                  Sql error: Commands out of sync; you can't run this command now
                  

                  我是否需要以某種方式清除多查詢,以免干擾我的下一個查詢?這個錯誤的原因是什么?

                  Do I need to somehow clear the multi query so it doesn't mess with my next query? What is the cause of this error?

                  這就是我運行多查詢的方式:

                  And this is how I am running my multi query:

                  function deleteSomeTables($args) {
                      $sql = 'delete 1;delete another;';
                      if ($database->multi_query($sql)) {
                          return true;
                      } else {
                          return false;
                      }
                  }
                  

                  我在 Windows 7 上使用最新版本的 Xampp

                  I am using a recent version of Xampp on windows 7

                  推薦答案

                  這幫助我消除了命令不同步"錯誤:

                  This helped me to remove 'Commands out of sync' error:

                  do { 
                      $mysqli_conn_obj->use_result(); 
                  }while( $mysqli_conn_obj->more_results() && $mysqli_conn_obj->next_result() );
                  

                  在調用 multi_query 后添加這段代碼,它將使用結果集并解決錯誤.

                  Add this code just after calling multi_query, it will use the result sets and resolve the error.

                  這篇關于&quot;命令不同步;你現在不能運行這個命令"- 由 mysqli::multi_query 引起的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  store_result() and get_result() in mysql returns false(mysql 中的 store_result() 和 get_result() 返回 false)
                  Call to undefined function mysqli_result::num_rows()(調用未定義的函數 mysqli_result::num_rows())
                  PHP Prepared Statement Problems(PHP 準備好的語句問題)
                  mysqli_fetch_array returning only one result(mysqli_fetch_array 只返回一個結果)
                  PHP MySQLi Multiple Inserts(PHP MySQLi 多次插入)
                  How do I make sure that values from MySQL keep their type in PHP?(如何確保 MySQL 中的值在 PHP 中保持其類型?)
                  <tfoot id='QSUC0'></tfoot>

                      • <bdo id='QSUC0'></bdo><ul id='QSUC0'></ul>

                          <i id='QSUC0'><tr id='QSUC0'><dt id='QSUC0'><q id='QSUC0'><span id='QSUC0'><b id='QSUC0'><form id='QSUC0'><ins id='QSUC0'></ins><ul id='QSUC0'></ul><sub id='QSUC0'></sub></form><legend id='QSUC0'></legend><bdo id='QSUC0'><pre id='QSUC0'><center id='QSUC0'></center></pre></bdo></b><th id='QSUC0'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='QSUC0'><tfoot id='QSUC0'></tfoot><dl id='QSUC0'><fieldset id='QSUC0'></fieldset></dl></div>
                            <tbody id='QSUC0'></tbody>

                          <small id='QSUC0'></small><noframes id='QSUC0'>

                          <legend id='QSUC0'><style id='QSUC0'><dir id='QSUC0'><q id='QSUC0'></q></dir></style></legend>
                          • 主站蜘蛛池模板: 亚洲精品美女视频 | 久久久久av | 国产极品91 | www.9191 | 欧美福利三区 | 欧美中文字幕 | 91亚洲一区 | 成人免费毛片在线观看 | 99久久婷婷国产亚洲终合精品 | 久久国产精品-久久精品 | 亚洲男人的天堂网站 | 日本成人中文字幕在线观看 | 免费一区二区三区 | 日本中文在线 | 国产精品日日做人人爱 | 日韩欧美在线免费 | 久久久久久国产精品 | 成人免费视频在线观看 | 91在线网站| h视频在线观看免费 | 国产一区二区成人 | 亚洲精品白浆高清久久久久久 | 一区二区三区久久久 | 在线观看视频一区 | 天天插天天操 | 激情六月丁香婷婷 | 国产免费又色又爽又黄在线观看 | 国产丝袜一区二区三区免费视频 | 99精品一区二区 | 国内精品免费久久久久软件老师 | 国产精品久久毛片av大全日韩 | 日本成人中文字幕在线观看 | 玩丰满女领导对白露脸hd | 亚洲第一色av | 视频一二区 | 午夜精品久久久久久久久久久久 | 美女黄网站 | 国产精品一区二区av | 国产精品日韩在线观看一区二区 | 国产欧美精品一区二区三区 | 日韩在线免费视频 |