echo '<li>', $html->link($results['members']
['name'],array('controller' => 'members', 'action' => 'view',
$results['Member']['id']),array('class' => 'MembersController')), '</
li>';
is the code. This is inside a function search() and on top I added
var $helpers = array('Html', 'Form', 'Ajax', 'Upload', 'Javascript');
but shows the same error.
On Mar 23, 4:07 pm, Sam Sherlock <[email protected]> wrote:
> Is this code within a helper?
>
> if so
>
> $this->Html-link(...);
> - S
>
> On 23 March 2010 10:55, jiru <[email protected]> wrote:
>
> > helper already included.
> > var $helpers = array('Html', 'Form', 'Ajax', 'Upload', 'Javascript');
>
> > On Mar 23, 3:29 pm, Amit Rawat <[email protected]> wrote:
> > > include the Html helper in your controller
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<cake-php%[email protected]>For
> > more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
>
> > To unsubscribe from this group, send email to cake-php+
> > unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> > ME" as the subject.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
To unsubscribe from this group, send email to
cake-php+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.