View Full Version : need query help

03-04-2007, 07:21 AM
is the following query correct...
i want to limit the result as well as order it by desc

SELECT id, name, date_format(entry_date, '%b %e') as post_time from guestbook ORDER by entry_date desc LIMIT $from, $max_results

03-04-2007, 04:08 PM
Yep, it looks correct.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum