Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 03:35 pm EDT

Geeklog Forums

Links order


Status: offline

marcelw

Forum User
Newbie
Registered: 09/04/05
Posts: 12
How do I order the links of webresources different as buy there title? I would like to use their ID for that.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
That should be it:
Text Formatted Code
$sql .= ' ORDER BY category ASC,title';
 
(line 151 in links/index.php).

bye, Dirk
 Quote

Status: offline

marcelw

Forum User
Newbie
Registered: 09/04/05
Posts: 12
Thanks Dirk -- as allways correct. I've changed it in
Text Formatted Code
$sql .= ' ORDER BY category ASC,lid DESC';
 

so now I can identify the links as YYYYMMDD and show newest first in a bibliography-like listing.
 Quote

All times are EDT. The time is now 03:35 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content