[eluser]Kraig[/eluser]
I did that and this is what I get:
Code:
string(10) "7-mini.jpg"
I tested it out with the following array and it worked fine, so it's something with my variable
Code:
$x=array("one","two","three");
Here's how I declare it:
Code:
public $variable;
function __construct() {
parent::__construct();
// Grabbing all the files associated with the current user
$this->load->model("upload_model");
$q = $this->upload_model->get_files();
$this->variable = $q;
}