i want to know that how can i sort the values coming from database on link.e.g if i have three columns " DATE NAME MESSAGE" and their values coming form database default srted by date desc.
now iw ant if user clicks on date its sorted by date desc and asc on alternative clicks and also same for NAME and Message columns.
just like phpadmin when we r clicking on table field its sorted according to this field.hope u got it.