久久久久久久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;命令不同步;你現(xiàn)在不能運(yùn)行這個(gè)命令

        quot;Commands out of sync; you can#39;t run this command nowquot; - Caused by mysqli::multi_query(quot;命令不同步;你現(xiàn)在不能運(yùn)行這個(gè)命令- 由 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;命令不同步;你現(xiàn)在不能運(yùn)行這個(gè)命令"- 由 mysqli::multi_query 引起的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  我正在通過(guò) mysqli::multi_query 運(yùn)行多個(gè)刪除操作,但它搞亂了下一個(gè)查詢.正在拋出以下錯(cuò)誤.

                  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
                  

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

                  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?

                  這就是我運(yùn)行多查詢的方式:

                  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

                  推薦答案

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

                  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() );
                  

                  在調(diào)用 multi_query 后添加這段代碼,它將使用結(jié)果集并解決錯(cuò)誤.

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

                  這篇關(guān)于&quot;命令不同步;你現(xiàn)在不能運(yùn)行這個(gè)命令"- 由 mysqli::multi_query 引起的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  store_result() and get_result() in mysql returns false(mysql 中的 store_result() 和 get_result() 返回 false)
                  Call to undefined function mysqli_result::num_rows()(調(diào)用未定義的函數(shù) mysqli_result::num_rows())
                  PHP Prepared Statement Problems(PHP 準(zhǔn)備好的語(yǔ)句問(wèn)題)
                  mysqli_fetch_array returning only one result(mysqli_fetch_array 只返回一個(gè)結(jié)果)
                  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>
                          • 主站蜘蛛池模板: 国产精品污www在线观看 | 亚洲一区二区三区免费在线观看 | 东京av男人的天堂 | 成人在线免费视频观看 | 夜夜骚视频 | 精品国产乱码久久久久久蜜臀 | 国产一区二区三区在线 | 亚洲精品黄色 | 国产成人综合在线 | 九九亚洲 | 国产精品美女久久久久久免费 | 在线中文视频 | 人人干视频在线 | 九九99精品 | 欧美视频三级 | 日韩欧美一区二区三区免费观看 | 国产在线一区观看 | 国产欧美日韩久久久 | 精品在线一区 | 亚洲成人久久久 | 成人午夜av | 久久激情av | 欧美日韩在线电影 | 久久久久久国产精品久久 | 国产精品色一区二区三区 | 97精品国产97久久久久久免费 | 欧美在线日韩 | 国产精品亚洲第一区在线暖暖韩国 | 亚洲狠狠爱 | 成人综合视频在线 | 毛片站 | 日韩精品在线视频免费观看 | 欧美精品一区二区三区在线播放 | 国产精品永久久久久久久www | 91久久夜色精品国产网站 | 91精品国产99久久 | 亚洲视频区 | 91成人在线| 污污免费网站 | 国产激情一区二区三区 | 国产高清免费 |