PDA

View Full Version : [SOLVED] new adoptables on top?


mugwumpr
04-28-2009, 01:40 PM
Is there a relatively easy way to have newly added adoptables appear at the top of the adoptable page rather than on the bottom? Basically sort new --> old rather than the current old --> new.

:)

BMR777
04-28-2009, 03:46 PM
In adopt.php find:

$query = "SELECT * FROM ".$prefix."adoptables";

Replace With:

$query = "SELECT * FROM ".$prefix."adoptables ORDER BY id DESC";

:)

mugwumpr
04-28-2009, 04:15 PM
Perfect! Thanks!!

:D