Jump to content

Property listing search as well as row sort


cjbeck71081

Recommended Posts

I was wondering what is best practice when you have to sort a column of data.  I have a very simple property listing that has fields like, Company name, address, zoning code, square footage, etc.  I would like to order them ascending and descending when someone clicks the head of the column.

 

The second questioon i have is, what is best practice when searching a database for entries for something like a property listing.  If i wanted to search the DB for all properties that are 2 family... or under 300k, what might be my best approach(coding the URL?).  Or what if i wanted properties that met both... single families for 250k. 

 

Anyway i have been doing this for a while, im sure i could hack it, but i figured i would see what "Best practice was for this"

 

Thanks

Chris

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.