Welcome Guest, Not a member yet? Register   Sign In
navigation problem
#2

[eluser]GSV Sleeper Service[/eluser]
Code:
foreach ($query->result() as $row)
        {
            $namee=$row->name;
            $pid=$row->cat_id;
            $id=$row->id;
            // return ($name);
        }
you are over-writing the $namee, $pid and $id vars on each iteration of this loop.


Messages In This Thread
navigation problem - by El Forum - 11-28-2008, 03:00 AM
navigation problem - by El Forum - 11-28-2008, 03:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB