Welcome Guest, Not a member yet? Register   Sign In
DB Query issues
#4

[eluser]stevefink[/eluser]
I added a log_message directive into my controller to grab the data, and the array is indeed being populated. The view however, does not wish to do anything with this data.

function get_photos()
{
// get all photo filesystem locations.
$photos = $this->autodb->get_photos();
log_message('debug', "This is a test: " . print_r($photos, TRUE));
//$this->load->view('console/vehicle_photos_view', $data);
}

and my logs:

DEBUG - 2007-08-21 18:25:49 --> This is a test: Array
(
[0] => Array
(
[photoloc] => ./uploads/IMG0595.JPG
)

[1] => Array
(
[photoloc] => ./uploads/IMG0596.JPG
)

[2] => Array
(
[photoloc] => ./uploads/IMG0598.JPG
)

)

Any ideas folks?


Messages In This Thread
DB Query issues - by El Forum - 08-21-2007, 04:03 PM
DB Query issues - by El Forum - 08-21-2007, 04:13 PM
DB Query issues - by El Forum - 08-21-2007, 04:22 PM
DB Query issues - by El Forum - 08-21-2007, 04:27 PM
DB Query issues - by El Forum - 08-21-2007, 04:29 PM
DB Query issues - by El Forum - 08-21-2007, 04:30 PM
DB Query issues - by El Forum - 08-21-2007, 05:20 PM
DB Query issues - by El Forum - 08-21-2007, 05:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB