I have a simple media gallery that sorts the albums based on date as seen in the code example. In amongst the albums I have a "Trash" album for deleted media. How do I keep the ORDER BY albums.date DESC but always set the "Trash" album to be the very last in the order? The album is in column "title" and is always called "trash".
Thanks for your help...
$query = mysql_query("SELECT albums.*,photos.path FROM albums LEFT JOIN photos ON albums.albumCover=photos.id WHERE albums.user='$siteUserID' ORDER BY albums.date DESC");