close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Need to display database field by DESC but it's not working

Thread began 12/27/2009 10:18 pm by ijk76319396 | Last modified 1/11/2010 2:55 pm by ijk76319396 | 1334 views | 8 replies

Eric Mittman

Since you have one criteria already "I am trying to display the top five rated comics in order from highest to lowest", you just need to add to this to order them from the most recent out of these top rated.

This is something you can do but you will need to determine what order these top rated ones were rated in. To do this you must have some more data in the records. For example, if you recorded the time of the rating as a timestamp you could organize your result set by this timestamp field in DESC. This would give you your top rated results, but ordered by the time of the review.

This is the part that you are missing though, you need to have this extra info about when the rating occurs stored for each record, otherwise you will have a very difficult time determining when the reviews occurred and what order you should list them. I think the timestamp way is the best, you can just add a column to your table to hold the timestamp. Then when you insert or update the record you just use the current timestamp for this column value.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...