This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Fuel PHP 1.1.8 Pagination example | |
| //echo $pagination in the view | |
| // | |
| public function action_index() | |
| { | |
| //pagination | |
| $config = array( | |
| 'pagination_url' => 'comic/index/', | |
| 'total_items' => 10, | |
| 'per_page' => 5, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body> | |
| <form action="upload.php" method="POST" enctype="multipart/form-data"> | |
| <legend>upload image:</legend> | |
| <label for="photo">Filename:</label> | |
| <input type="file" name="photo"/> | |
| <input type="submit" name="upload" value="upload"/> | |
| </form> | |
| </body> | |
| </html> |