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

  • <tfoot id='EzwPt'></tfoot>

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

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

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

        帶有 MySQL 插入 PDO 請求的錯誤 HY093

        Error HY093 with a MySQL Insert PDO Request(帶有 MySQL 插入 PDO 請求的錯誤 HY093)
        1. <legend id='d5kwX'><style id='d5kwX'><dir id='d5kwX'><q id='d5kwX'></q></dir></style></legend>
        2. <i id='d5kwX'><tr id='d5kwX'><dt id='d5kwX'><q id='d5kwX'><span id='d5kwX'><b id='d5kwX'><form id='d5kwX'><ins id='d5kwX'></ins><ul id='d5kwX'></ul><sub id='d5kwX'></sub></form><legend id='d5kwX'></legend><bdo id='d5kwX'><pre id='d5kwX'><center id='d5kwX'></center></pre></bdo></b><th id='d5kwX'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='d5kwX'><tfoot id='d5kwX'></tfoot><dl id='d5kwX'><fieldset id='d5kwX'></fieldset></dl></div>

                  <bdo id='d5kwX'></bdo><ul id='d5kwX'></ul>
                    <tbody id='d5kwX'></tbody>
                • <small id='d5kwX'></small><noframes id='d5kwX'>

                  <tfoot id='d5kwX'></tfoot>

                  本文介紹了帶有 MySQL 插入 PDO 請求的錯誤 HY093的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  在閱讀了有關 HY093 的所有其他問題后,我打開了這個問題以弄清楚為什么我也收到了這條消息.

                  After reading all others questions about the HY093, I open this one to figure out why I've got this message too.

                  這是我的桌子:

                  這是我的要求:(其中 $conn 是我的 PDO 連接)

                  And here is my request : (Where $conn is my PDO connection)

                  $sql = $conn->prepare("INSERT INTO Sites (Email,URL,Title,Description,PageRank,Rewrite,MetaDesc,Origin,BackLink,nbBackLink,RssTitle,RssAddress,SocAddress,SocPostalCode,SocCity,SocCountry,SocTel,Offer,Status,nbHit)
                                           VALUES (:Email,:URL,:Title,:Description,:PageRank,:Rewrite,:MetaDesc,:Origin,:BackLink,0,:RssTitle,:RssAddress,:SocAddress,:SocPostalCode,:SocCity,:SocCountry,:SocTel,:Offer,:Status,0)");
                  $sql->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );
                  
                  $pageRank = new GooglePageRank($_POST["site_url"]);
                  
                  $sql->bindParam(":Email",$_POST["submail"],PDO::PARAM_STR);
                  $sql->bindParam(":URL",$_POST["site_url"],PDO::PARAM_STR);
                  $sql->bindParam(":Title",$_POST["site_title"],PDO::PARAM_STR);
                  $sql->bindParam(":Description",$_POST["site_desc"],PDO::PARAM_STR);
                  $sql->bindParam(":PageRank",$pageRank->PageRank,PDO::PARAM_INT);
                  $sql->bindParam(":Rewrite",stringToRewrite($_POST["site_title"]),PDO::PARAM_STR);
                  $sql->bindParam(":MetaDesc",$_POST["site_desc"],PDO::PARAM_STR);
                  $sql->bindParam(":Origin",$_POST["site_country"],PDO::PARAM_STR);
                  $sql->bindParam(":BackLink",$_POST["site_backlink"],PDO::PARAM_STR);
                  $sql->bindParam(":RssTitle",$_POST["site_rss_title"],PDO::PARAM_STR);
                  $sql->bindParam(":RssAddress",$_POST["site_rss_addr"],PDO::PARAM_STR);
                  $sql->bindParam(":SocAddress",$_POST["soc_addr"],PDO::PARAM_STR);
                  $sql->bindParam(":SocPostalCode",$_POST["soc_cp"],PDO::PARAM_STR);
                  $sql->bindParam(":SocCity",$_POST["soc_city"],PDO::PARAM_STR);
                  $sql->bindParam(":SocCoutry",$_POST["soc_pays"],PDO::PARAM_STR);
                  $sql->bindParam(":SocTel",$_POST["soc_tel"],PDO::PARAM_STR);
                  
                  $offer = $_POST["offer"] == "premium" ? 1 : 0;
                  $status = $_POST["offer"] == "premium" ? 2 : 0;
                  
                  $sql->bindParam(":Offer",$offer,PDO::PARAM_INT);
                  $sql->bindParam(":Status",$status,PDO::PARAM_INT);
                  
                  $sql->execute();
                  var_dump($sql->errorInfo());
                  var_dump($sql->errorCode());
                  

                  知道為什么我一直有 HY093 錯誤嗎?

                  Any idea why I keep have an HY093 error?

                  推薦答案

                  你的 bindParams 中有一個拼寫錯誤,這意味著你的參數不匹配:

                  You have a typo in one of your bindParams, which means you have a mismatch in parameters:

                  $sql->bindParam(":SocCoutry",$_POST["soc_pays"],PDO::PARAM_STR);
                  

                  應該是

                  $sql->bindParam(":SocCountry",$_POST["soc_pays"],PDO::PARAM_STR);
                  

                  這篇關于帶有 MySQL 插入 PDO 請求的錯誤 HY093的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死鎖異常代碼?)
                  PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滾動游標不起作用)
                  PHP PDO ODBC connection(PHP PDO ODBC 連接)
                  Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔術方法)
                  php pdo get only one value from mysql; value that equals to variable(php pdo 只從 mysql 獲取一個值;等于變量的值)
                  MSSQL PDO could not find driver(MSSQL PDO 找不到驅動程序)
                    <tbody id='hhb8d'></tbody>

                        1. <small id='hhb8d'></small><noframes id='hhb8d'>

                          <tfoot id='hhb8d'></tfoot>
                          • <bdo id='hhb8d'></bdo><ul id='hhb8d'></ul>
                            <legend id='hhb8d'><style id='hhb8d'><dir id='hhb8d'><q id='hhb8d'></q></dir></style></legend>
                            <i id='hhb8d'><tr id='hhb8d'><dt id='hhb8d'><q id='hhb8d'><span id='hhb8d'><b id='hhb8d'><form id='hhb8d'><ins id='hhb8d'></ins><ul id='hhb8d'></ul><sub id='hhb8d'></sub></form><legend id='hhb8d'></legend><bdo id='hhb8d'><pre id='hhb8d'><center id='hhb8d'></center></pre></bdo></b><th id='hhb8d'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='hhb8d'><tfoot id='hhb8d'></tfoot><dl id='hhb8d'><fieldset id='hhb8d'></fieldset></dl></div>
                            主站蜘蛛池模板: 91在线视频观看免费 | 免费看日韩视频 | 国产在线一区二 | 久久av网站 | 国产成人精品综合 | 亚洲 欧美 另类 综合 偷拍 | 精品欧美一区二区精品久久久 | 久色网| 天天综合网91| 国产一区二区电影 | 福利片一区二区 | 久久精品中文字幕 | 亚洲欧美日韩国产 | 天天爽天天干 | 蜜桃色网 | 亚洲欧美激情精品一区二区 | 狠狠操狠狠搞 | 91久久视频 | 涩涩视频网 | av永久| 夜夜爽99久久国产综合精品女不卡 | 91在线导航 | av喷水| 国产精品视频久久久久久 | 精品国产乱码久久久久久牛牛 | 久久久激情 | 99久久婷婷 | 91性高湖久久久久久久久_久久99 | 香蕉久久久久久 | 99成人 | 日本一区高清 | 美女视频网站久久 | 国产午夜在线观看 | 精品欧美一区二区三区久久久 | 日韩欧美三区 | 久久国产高清 | 日本超碰| 99riav国产一区二区三区 | 国产高清精品一区二区三区 | 亚洲第一在线 | 国产综合精品一区二区三区 |