Welcome Guest, Not a member yet? Register   Sign In
just a quickie
#5

[eluser]sore eyes[/eluser]
hi ray, thanks for responding

I changed the controller to:

Code:
function enterNextShop()
    {
        $old_shop_id =3;
        $data = $this->MShops->getNextShop($old_shop_id);
        $shop_id = $this->data->row()->shop_id;
        redirect('welcome/enterShop/'.$shop_id);
        
    }

(using a constant for the old_shop_id, just to rule any prior errors) and I get an error message

Message: Undefined property: Welcome::$data line 36
Fatal error: Call to a member function row() on a non-object in C:\Program Files\xampp\htdocs\retailers\system\application\controllers\welcome.php on line 36

any ideas?


Messages In This Thread
just a quickie - by El Forum - 12-30-2008, 11:05 PM
just a quickie - by El Forum - 12-31-2008, 05:02 AM
just a quickie - by El Forum - 12-31-2008, 06:31 PM
just a quickie - by El Forum - 12-31-2008, 07:05 PM
just a quickie - by El Forum - 01-01-2009, 03:30 AM
just a quickie - by El Forum - 01-01-2009, 09:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB