Welcome Guest, Not a member yet? Register   Sign In
$query->result() equivalent for a resource
#3

[eluser]TheFuzzy0ne[/eluser]
Assuming you're using MySQL, I think you'd just need to extend the existing CI_DB_mysql_result class, but I think you'd need to use your custom object, rather than CI's $this->db.

Unless there's another way, you can just put it into a library, and maybe call it my_db, or db2?


Messages In This Thread
$query->result() equivalent for a resource - by El Forum - 04-28-2008, 11:22 AM
$query->result() equivalent for a resource - by El Forum - 04-28-2008, 01:09 PM
$query->result() equivalent for a resource - by El Forum - 04-28-2008, 01:11 PM
$query->result() equivalent for a resource - by El Forum - 04-28-2008, 01:12 PM
$query->result() equivalent for a resource - by El Forum - 04-29-2008, 02:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB