Ordering pages.

I would like to take this site that buys back items (video games) and sort all the games they buy in order from greatest to least $ amount. (but im a total newb when it comes to php)

I guess it would include

[ol][li]Searching through the pages of games.[/li]
[li]sorting by the $. parts.[/li]
[li]and then returning a list.[/li][/ol]

that’s the basic idea.

Concerns - (besides that I have no idea what functions I should use)

  • The games are separated by system, then by first letter A-Z and have page numbers for each letter.

  • Convenience of the returned ‘list’ - Perhaps having it return a list of simply the links of the game page with a $ amount next to it.

I accept as much help as I can get with this, but the best functions to use for the above mentioned 3 points would be a wonderful start.

Thank you for your time~

I’m struggling to see what the problem is here…

Store the games in a database which will enable you to query the database how you like:

[ul][li]A-Z
Price High -> Low[/li]
[li][/li][/ul]

etc

Sponsor our Newsletter | Privacy Policy | Terms of Service