Skip to content
Advertisement

Codeigniter select where AND

How to do select where and with code igniter ? //select * from item_user where email="myemail@gmail.com" and passwd="123"

JavaScript

i think my wrong syntax is around $this->db->where('email', $email & 'passwd', $passwd); please help me, and where to learn this kind of CI stuff easily?

Advertisement

Answer

Hope this helps

JavaScript

If you are using GET Method Get the data using this

JavaScript

If you are using POST Method Get the data using this

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement