[eluser]jzmwebdevelopement[/eluser]
right we are now getting somewhere
when I used the above code and accessed domain.co.nz/editpage/
I got
Code:
object(stdClass)#23 (5) { ["id"]=> string(1) "1" ["name"]=> string(4) "Home" ["permalink"]=> string(4) "home" ["content"]=> string(21) "This is the home page" ["template"]=> string(4) "home" }
but when I tried to pass the "page" pram I still got the fatal error.