0
我用這個函數調用過程等PHP:mysqli的清理儲存的結果
function clearStoredResults($mysqli_link){
#------------------------------------------
while($mysqli_link->next_result()){
if($l_result = $mysqli_link->store_result()){
$l_result->free();
}
}
}
後清除存儲的結果,但我不斷收到以下消息/錯誤
mysqli::next_result(): There is no next result set. Please, call mysqli_more_results()/mysqli::more_results() to check whether to call this function/method in
如果我改變next_result()
至more_results()
頁面不斷加載一段時間,我得到一個超時錯誤:
Maximum execution time of 30 seconds exceeded
關於如何解決這個問題的任何想法?
這工作。謝謝! – js091514
Downvoter,謹慎解釋? –
我沒有投票給任何人。 – js091514