It looks like you're new here. If you want to get involved, click one of these buttons!
public function debug_query($hidden = FALSE, $exit = FALSE, $return = FALSE)
{
$str = $this->db->debug_query($hidden, $exit, $return);
if(!empty($return)) {
return $str;
}
}
public function debug_query($hidden = FALSE, $exit = FALSE, $return = FALSE)
{
$str = '';
if (!empty($hidden)) echo '<!--';
$str.= $this->last_query()." \n";
if (!empty($hidden)) $str.= '-->';
if (!empty($return)) {
return $str;
} else {
echo $str;
}
if (!empty($exit)) exit;
}
Comments