Hallo,
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?orderby=ends&sort=DESC">↓</A>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?orderby=ends&sort=ASC">↑</A>poste bitte auch den Quellcodeteil, in dem Du mit $_GET['sort'] arbeitest!
Gruß aus Berlin!
eddi
Hallo EDDI,
danke für deine schnelle Antwort, hier der Code aus der PHP Datei.
$statement = "SELECT FROM auctions WHERE galerie ORDER BY ends $orderby";
if($_GET['sort'] == 'auf') {
$orderby = 'ASC';
} else {
$orderby = 'DESC';
}
Ingo