How to solve simple paging in laravel?
PHPz
PHPz 2017-05-16 16:55:05
0
1
407

One click paging connection

http://127.0.0.1/demo/public/index.php/?page=1

Found that the demo is gone

http://127.0.0.1/public/index.php/?page=2  

Is it because the routing is written incorrectly? Default route:

Route::get('/', 'indexController@index');

Routing was added later

Route::get('?page={id}', function($id)
{
    
});

It’s solved. Doesn’t this way of writing have any impact?

PHPz
PHPz

学习是最好的投资!

reply all(1)
为情所困

Use php artisan serve to start the project.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template