Welcome Guest, Not a member yet? Register   Sign In
SQL query
#1

[eluser]Unknown[/eluser]
Good Day,

I want to ask if there's a way to get the current sql query string w/o executing $this->db->query() or $this->db->last_query()..

my code is this..

$this->facebook->getAppId();
$this->db->select('developer_id');
$this->db->from($this->_model_table);
$this->db->where('application_id', $this->facebook->getAppId());
$str = $this->db->??????;
echo $str;


Thanks in advance..




Theme © iAndrew 2016 - Forum software by © MyBB