Welcome Guest, Not a member yet? Register   Sign In
CI Objects and arrays - aaghh!
#2

[eluser]Simian Studios[/eluser]
The way the view handles data and the way the model handles data are different. The view automatically parses the $data array into simple variables for use, whereas the model doesn't.

If you pass $data['upload_data'] to your model instead of the whole $data array, it should work.


Messages In This Thread
CI Objects and arrays - aaghh! - by El Forum - 06-30-2010, 08:50 AM
CI Objects and arrays - aaghh! - by El Forum - 06-30-2010, 09:41 AM
CI Objects and arrays - aaghh! - by El Forum - 06-30-2010, 10:03 AM
CI Objects and arrays - aaghh! - by El Forum - 06-30-2010, 10:11 AM
CI Objects and arrays - aaghh! - by El Forum - 06-30-2010, 10:13 AM
CI Objects and arrays - aaghh! - by El Forum - 07-01-2010, 02:17 AM
CI Objects and arrays - aaghh! - by El Forum - 07-01-2010, 03:04 AM
CI Objects and arrays - aaghh! - by El Forum - 07-01-2010, 04:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB