1
我的程序庫
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
class Procedure
{
var $CI;
public $result = NULL; // Dönen Değer Değişkeni
public function __construct()
{
$this->CI = & get_instance();
}
public function query($sql)
{
// Sql Sorgusunu Çalıştır Sonucu resulta At
$this->result = $this->CI->db->query($sql);
// Procedure İçin Yazılmış
while(mysqli_next_result($this->CI->db->conn_id)){
if($l_result = mysqli_store_result($this->CI->db->conn_id)){
mysqli_free_result($l_result);
}
}
// Procedure İçin Yazılmış
// Sonucu Döndür
return $this->result;
}
}
?>
1 - 2查詢和結果:沒問題
4 - 5查詢和結果:
Commands out of sync; you can’t run this command now
沒有一個確切的結果?供使用
這真的很難理解你的問題,請嘗試使用適當的英語句子。 – talnicolas
mmmh ya ...不是更好... – talnicolas