cjbeck71081 Posted September 10, 2008 Share Posted September 10, 2008 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 Quote Link to comment Share on other sites More sharing options...
fenway Posted September 11, 2008 Share Posted September 11, 2008 Well, for your first question, you can either do it client-side (JS) or server-side (say, via AJAX). As for the DB side of things, I'm not sure why you want to "code the URL". Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.