Welcome Guest, Not a member yet? Register   Sign In
turn array into object active record can use
#3

[eluser]dionysus[/eluser]
Because there may be multiple rows returned and because the data needs to be decrypted I have to manipulate the data before returning it to the view. As a result, the views no longer receive the data as a CI mysql result object which they are set up to use. My initial idea was to decrypt the data, stick that into an array and send that to the view (see the second or "now" code). Problem with this is I have to rewrite all the views then to work with the arrays instead of the mysql result object (eg I'd have to change all the $row->data type code to $row['data'] type code). Thanks.


Messages In This Thread
turn array into object active record can use - by El Forum - 06-09-2010, 09:29 AM
turn array into object active record can use - by El Forum - 06-09-2010, 09:42 AM
turn array into object active record can use - by El Forum - 06-09-2010, 10:10 AM
turn array into object active record can use - by El Forum - 06-09-2010, 10:28 AM
turn array into object active record can use - by El Forum - 06-09-2010, 10:52 AM
turn array into object active record can use - by El Forum - 06-09-2010, 11:02 AM
turn array into object active record can use - by El Forum - 06-09-2010, 11:37 AM
turn array into object active record can use - by El Forum - 06-09-2010, 11:50 AM
turn array into object active record can use - by El Forum - 06-09-2010, 12:54 PM
turn array into object active record can use - by El Forum - 06-09-2010, 02:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB