Are you sure that the Html helper is assigned?
Enjoy,
John
On Feb 25, 8:28 am, jiru <jiransl...@gmail.com> wrote:
> In this code
> echo '<li onClick="fill(\''.addslashes($results['members']
> ['name']).'\');">'.$results['members']['name'].'</li>';
>
> this will shows the result from the database.
>
> Here I need a link to the view of the result when I click the result.
>
> I will try this but shows error :
>
> echo '<li>', $html->link($results['members']
> ['name'],array('controller' => 'members', 'action' => 'view',
> $results['Member']['id']),array('class' => 'MembersController')), '</
> li>';
>
> Error is undefined variable html....link() etc
>
> and some warning messages.
>
> How can I solve this ?
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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment