Browse code

changed to show youngest registration first

Jiri Kuthan authored on 26/05/2002 17:27:44
Showing 1 changed files
... ...
@@ -7,7 +7,7 @@
7 7
 USER_COLUMN='user'
8 8
 SUBSCRIBER_COLUMN='user_id'
9 9
 QUERY1="select subscriber.email_address from subscriber where  subscriber.user_id='$1'"
10
-QUERY2="select location.* from location where location.user='$1'"
10
+QUERY2="select location.* from location where location.user='$1' order by expires desc"
11 11
 
12 12
 # username and password of a valid MySql user, preferably only with read-only
13 13
 # privilegs