CodeIgniter Forums
confused about models - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: confused about models (/thread-51865.html)

confused about models - El Forum - 05-21-2012

I am new to both php and codeigniter. I am trying to develop an application for myself, and got confused.

I am trying to setup a simple bit of cose to work on my view.
[code]function getProjectGallery()
$imagesize='width=\\\\\\\\"553\\\\\\\\" height=\\\\\\\\"300\\\\\\\\"';
$customerid = $this->uri->segment(3);
$projectimagepath= base_url('images/estimates/'.$customerid);
$directory = $_SERVER['DOCUMENT_ROOT'].'codeignitor1/images/estimates/'."$customerid";
foreach (glob("$directory".'/'."*.jpg") as $filename)
echo "<img