Welcome Guest, Not a member yet? Register   Sign In
encoding / decoding data in models
#1

[eluser]cellulit[/eluser]
hi guys;

i'm just wondering if there's any smart way to encrypt or decrypt results sets provided by db->get or get_where functions. i try to stick to the model and do this basic data manipulation there (instead of decrypting data in view for example).

so far, i've tried a couple of things including:
Code:
array_walk($results,'$this->encrypt->decode');
... but none of my attempts are successful.
any hints?

thanks in advance!
a


Messages In This Thread
encoding / decoding data in models - by El Forum - 07-04-2009, 06:36 AM
encoding / decoding data in models - by El Forum - 07-04-2009, 07:04 AM
encoding / decoding data in models - by El Forum - 07-04-2009, 09:36 AM
encoding / decoding data in models - by El Forum - 07-04-2009, 09:44 AM
encoding / decoding data in models - by El Forum - 07-04-2009, 09:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB