Jump to content

alphabetical pagination a to z


wright67uk

Recommended Posts

What would be the best way to make an alphabetical pagination list of MySQL results?

 

eg.

 

A | B | C | D | E

 

would I simply need to assign GET variables to each letter, and then process the GET in a MySQL select?

 

eg.

 

<a href="page.php?letter=a>A | </a>

<a href="page.php?letter=a>B | </a>

<a href="page.php?letter=a>C | </a>

 

<a href="page.php?letter=a>D | </a>

 

<a href="page.php?letter=a>E | </a>

 

I'm sure there is a more efficient way?

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/277819-alphabetical-pagination-a-to-z/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.