usssar
asked on
PHP paging
Hello, i'm doing PHP paging, to split results from mysql database into some pages.
I googled and i found how to make paging like that:
index.php?page=1, index.php?page=2 and so on
but what i want is to make like this:
index-1.php, index-2.php and so on. As soon as in db more data, it creates index-3.php and so on... How to make that? HELP :)
I googled and i found how to make paging like that:
index.php?page=1, index.php?page=2 and so on
but what i want is to make like this:
index-1.php, index-2.php and so on. As soon as in db more data, it creates index-3.php and so on... How to make that? HELP :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
but what i want is to make like this:
index-1.php, index-2.php and so on. As soon as in db more data, it creates index-3.php and so on... How to make that? HELP :)
>> are you trying to hide the query string values OR need to create files for more data ...?
As ***dr_dedo*** said, you can create files ... but is not good practice to create as many as for all the DB records...
actually what are you trying to archive out of this.??
Want hide something to the user or ??
index-1.php, index-2.php and so on. As soon as in db more data, it creates index-3.php and so on... How to make that? HELP :)
>> are you trying to hide the query string values OR need to create files for more data ...?
As ***dr_dedo*** said, you can create files ... but is not good practice to create as many as for all the DB records...
actually what are you trying to archive out of this.??
Want hide something to the user or ??
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
https://www.experts-exchange.com/questions/22583353/how-can-I-make-result-pagination-the-same-like-it-appears-in-google-com.html?anchorAnswerId=19141770#a19141770
let me know if you need something more.