Welcome Guest, Not a member yet? Register   Sign In
count without Active Record
#1

[eluser]introvert[/eluser]
Hello,

What is the easiest // the most resource friendly way to count results?

Code:
$query = $this->db->query("SELECT count(*) FROM $this->table WHERE site_id = $this->site_id AND permalink = '$unique'");


How to access count variable?


Messages In This Thread
count without Active Record - by El Forum - 05-08-2011, 10:39 AM
count without Active Record - by El Forum - 05-08-2011, 12:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB