Hi Hans!
Ich habe mir das jetzt mit der Syntax dieser Funktion nochmal angeschaut, habe es ein wenig umgestellt und siehe da, jetzt funktioniert es.
Kannst du dir mal den SQL-Code ausgeben lassen?
Mich interessiert der Unterschied zwischen
$status = "publish";
return $this->db->get_where($db_table, array('post_status' => $status), $limit, $offset);
und
return $this->db->get_where($db_table, array('post_status' => 'publish'), $limit, $offset);
MfG H☼psel
--
"It's amazing I won. I was running against peace, prosperity, and incumbency."
George W. Bush speaking to Swedish Prime Minister unaware a live television camera was still rolling, June 14, 2001
Selfcode: ie:% fl:( br:> va:) ls:& fo:) rl:? n4:& ss:| de:] js:| ch:? sh:( mo:) zu:)
"It's amazing I won. I was running against peace, prosperity, and incumbency."
George W. Bush speaking to Swedish Prime Minister unaware a live television camera was still rolling, June 14, 2001
Selfcode: ie:% fl:( br:> va:) ls:& fo:) rl:? n4:& ss:| de:] js:| ch:? sh:( mo:) zu:)