本文介紹了mysqli_query 和 mysqli_real_query 的區(qū)別的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
mysqli::query
和 mysqli::real_query
有什么區(qū)別?
或
mysqli_query
和 mysqli_real_query
有什么區(qū)別?
推薦答案
查看mysqli_query<的文檔/a>():
Look at the documentation of mysqli_query():
功能上,使用該函數(shù)與調(diào)用mysqli_real_query() 后跟 mysqli_use_result() 或mysqli_store_result().
Functionally, using this function is identical to calling mysqli_real_query() followed either by mysqli_use_result() or mysqli_store_result().
據(jù)我所知,real_query 實際上執(zhí)行查詢,而 use/store_result 啟動檢索查詢結果集的過程.query() 兩者都做.
From what I understand real_query actually executes the query, and use/store_result initiates the process of retrieving a result set for the query. query() does both.
這篇關于mysqli_query 和 mysqli_real_query 的區(qū)別的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權益,請聯(lián)系我們刪除處理,感謝您的支持!