How to send the my sql result to controller in codeigniter as a variable

Posted by udaya on Stack Overflow See other posts from Stack Overflow or by udaya
Published on 2010-06-01T09:45:37Z Indexed on 2010/06/01 16:23 UTC
Read the original article Hit count: 149

Filed under:
|
|

Hi In my mode I am selecting a field as

$query1 = $this->db->query("SELECT dPassword 
                    FROM tbl_login
                    WHERE  dEmailID='[email protected]'");

How to return dpassword as a variable to my controller I tried this way return dpassword;

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql