07.09
php
saved
louiemiranda
Note
view of search keywords with fulltext search and pagination.
See http://bin.cakephp.org/saved/60040
view of search keywords with fulltext search and pagination.
See http://bin.cakephp.org/saved/60040
- <h2>Search Page</h2>
- <input type="submit" value="Search" />
- <?php
- 'format' => 'Page %page% of %pages%, showing %current% records out of %count% total'
- ));
- ?>
- <?php
- //$paginator->options(array('url' => $paginator->params['data']['Publication']['keywords']));
- //echo '<pre>';
- //print_r($paginator->params['data']['Publication']['keywords']);
- //echo '</pre>';
- ?>
- <table>
- <?php foreach($results as $data): ?>
- <?php //print_r($publications); ?>
- <tr>
- <td><?php
- echo $ajax->link('Add '.$data['Publication']['itemCode'], '/publications/ajaxaddtocart/'.$data['Publication']['itemId'].'/'.$data['Publication']['itemCode'],
- );
- ?></td>
- </tr>
- <?php endforeach; ?>
- </table>
Parsed in 0.126 seconds, using GeSHi 1.0.7.14