Welcome Guest, Not a member yet? Register   Sign In
query->row() not working
#7

[eluser]Aken[/eluser]
If you are able to retrieve the user's password from your database, then you aren't storing it properly. Passwords should be encrypted using one-way hash, and you should never know what they are.

[quote author="TWP Marketing" date="1345917261"]Your call to the model function should use the model class name, which is capitalized.
Quote:$curr_password = $this->Account_model->getPass($userID);
[/quote]
CI looks for both versions - you don't have to capitalize library or model names.


Messages In This Thread
query->row() not working - by El Forum - 08-24-2012, 11:57 PM
query->row() not working - by El Forum - 08-25-2012, 12:54 AM
query->row() not working - by El Forum - 08-25-2012, 04:31 AM
query->row() not working - by El Forum - 08-25-2012, 10:34 AM
query->row() not working - by El Forum - 08-25-2012, 10:38 AM
query->row() not working - by El Forum - 08-25-2012, 10:54 AM
query->row() not working - by El Forum - 08-25-2012, 05:29 PM
query->row() not working - by El Forum - 08-25-2012, 08:06 PM
query->row() not working - by El Forum - 08-27-2012, 03:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB