Welcome Guest, Not a member yet? Register   Sign In
confused about models
#1

[eluser]ns8814[/eluser]
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)
{
basename($filename);
echo "<img




Theme © iAndrew 2016 - Forum software by © MyBB