Galera, tenho o seguinte:
$this->db->order_by('dia','desc');
$data['query']=$this->db->get('vips',2,0);
como coloco um "where qtde_total > 0"
tentei no where:
$this->db->where('qtde_total',">0");
mas sei que não é isso hahaha
John
+55 (12) 8858-1594 / +55 (12) 8182-3416
Twitter | Last.FM
Designer | Developer
PHP | CSS | jQuery | Wordpress | CodeIgniter
iPhone Developer
_______________________________________________
[email protected]
http://www.codeigniter.com.br
http://codeigniter.com.br/mailman/listinfo/lista_codeigniter.com.br
---------------------------
Oportunidade de negócio
http://www.franquiasargohost.net
---------------------------