Hey guys, quick question, I'm setting up a script that does headlines for my site and I need to pull some information from a table with my review info from it but I only want to view the 7 latest reviews, how do I make it so I can only view like 7 highest values for the "num" column?
my query is this: $r = mysql_query("SELECT * FROM hwureviews LIMIT (MAX(num)-7),7"); Does this work or am I way off? Thanks! -------------------------------------------- -Alex "Big Al" Behrens E-mail: [EMAIL PROTECTED] Urgent E-mail: [EMAIL PROTECTED] (Please be brief!) Phone: 651-482-8779 Cell: 651-329-4187 Fax: 651-482-1391 ICQ: 3969599 Owner of the 3D-Unlimited Network: http://www.3d-unlimited.com Send News: [EMAIL PROTECTED] --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php