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 [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