The HTML helper is pretty useful, here’s how you write a link in a view file:
<?php echo $html->link('click me', array( 'controller'=>'users', 'action'=>'index' ) ); ?>
The parameters in this are:
The HTML helper is pretty useful, here’s how you write a link in a view file:
<?php echo $html->link('click me', array( 'controller'=>'users', 'action'=>'index' ) ); ?>
The parameters in this are: