When I try and run my code, I have encountered the following error
< Strong> The default value for the query is from the empty value
:
$ this-> layout-> Content = View :: Creation ('Search', array ('Table' = & gt; $ Table));
I'm following a tutorial located here:
Any help would be greatly appreciated
You do not have a defined layout, declare it:
secure $ layout = 'layout.default';
and then
$ this-> Layout-> Content = View :: Creation ('Search', array ('table' = & gt; $ table));
Or any other way:
$ layout = new stdClass (); $ Layout- & gt; Layout = new stdClass (); $ Layout- & gt; Layout-> Content = View :: Creation ('Search', array ('table' = & gt; $ table));
No comments:
Post a Comment